Skip to content

#838316 Color

#838316 is rgb(131, 131, 22) in RGB, hsl(60, 71%, 30%) in HSL, and about cmyk(0%, 0%, 83%, 49%) in CMYK. It has no registered color name of its own — the closest is Olive (#808000), very hard to tell apart at ΔE 3.6. Black text is the more readable choice on this background.

#838316
HEX#838316
RGBrgb(131, 131, 22)
HSLhsl(60, 71%, 30%)
HSVhsv(60, 83%, 51%)
CMYKcmyk(0%, 0%, 83%, 49%)
OKLCHoklch(59.1% 0.122 109.6)
LABlab(53.35% -9.24 52.64)
LCHlch(53.35% 53.45 99.96)

What #838316 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #838316, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#838316 Channel Values

How #838316 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 131 · G 131 · B 228-bit channels as sent to the display
HSLH 60° · S 71% · L 30%Easiest model for building lighter and darker variants
HSVH 60° · S 83% · V 51%Matches the picker in most design tools
CMYKC 0% · M 0% · Y 83% · K 49%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.02:1 vs white · 5.22:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #838316 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text4.02:1AA normal AA large AAA normal
TextBlack text5.22:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #838316 in the contrast checker.

Colors That Go With #838316

Pairings derived from color-wheel relationships. The complementary color sits opposite #838316; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #838316

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #838316.

How #838316 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#838316
Protanopia#838316
Protanomaly#838316
Deuteranopia#838316
Deuteranomaly#838316
Tritanopia#8A7B7B
Tritanomaly#877E62
Achromatopsia#7F7F7F

Test a full palette in the color blindness simulator.

Using #838316 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-838316: #838316;
CSS backgroundbackground-color: #838316;
Tailwind configcolors: { 'color-838316': '#838316' }
SwiftUIColor(red: 0.514, green: 0.514, blue: 0.086)
Android XML<color name="color_838316">#838316</color>
SVG fillfill="#838316"

More Yellow Colors

#838316 sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#838316 Frequently Asked Questions

What color is #838316?

#838316 is a dark yellow — rgb(131, 131, 22) in RGB and hsl(60, 71%, 30%) in HSL. It carries no registered color name of its own; the closest named color is Olive (#808000), which is very hard to tell apart at a CIE76 distance of 3.6.

What is the RGB value of #838316?

#838316 is rgb(131, 131, 22) — red 131, green 131, and blue 22 on the 0-255 scale.

What is the CMYK value of #838316?

#838316 converts to approximately cmyk(0%, 0%, 83%, 49%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #838316 be black or white?

Black text is the more readable choice. #838316 scores 4.02:1 against white and 5.22:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #838316 as a CSS color keyword?

No. #838316 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is olive (#808000) at a CIE76 distance of 3.6, which is very hard to tell apart.

Open #838316 in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.