#838121#838121
#838121 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.114 H 108.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #838121 |
|---|---|
| RGB | rgb(131, 129, 33) |
| HSL | hsl(59, 60%, 32%) |
| HSV | hsv(59, 75%, 51%) |
| CMYK | cmyk(0%, 1.5%, 74.8%, 48.6%) |
| CIE-LAB | lab(52.55, -11.10, 49.04) |
| CIE-LCH | lch(52.55, 50.28, 102.75°) |
| OKLab | oklab(58.71% -0.0357 0.1082) |
| OKLCH | oklch(58.71% 0.114 108.2) |
| XYZ | xyz(17.4855, 20.6362, 4.5007) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.38
Shit Green
#758000
ΔE00 4.12
Swamp Green
#748500
ΔE00 5.25
Poop Green
#6F7C00
ΔE00 5.26
Drab
#828344
ΔE00 5.55
Murky Green
#6C7A0E
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#838121 #212383
analogous
#835021 #838121 #548321
triadic
#838121 #218381 #812183
tetradic
#838121 #218350 #212383 #832154
square
#838121 #218350 #212383 #832154
split-complementary
#838121 #215483 #502183
monochromatic
#212108 #525115 #838121 #B4B12D #D2CF4C
Accessibility & contrast
On white
4.10
#838121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#838121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #838121
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##838121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##838121 | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C0E
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#8D786F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #838121; /* rgb */ color: rgb(131, 129, 33); /* oklch */ color: oklch(58.7% 0.114 108.2);
Tailwind
colors: {
custom: {
50: '#aaa564',
500: '#838121',
950: '#000000',
},
}SCSS
$custom: #838121; $custom-light: #aaa564; $custom-dark: #000000;
JSON
{
"hex": "#838121",
"rgb": {
"r": 131,
"g": 129,
"b": 33
},
"hsl": {
"h": 58.776,
"s": 59.756,
"l": 32.157
},
"oklch": {
"l": 0.58713,
"c": 0.11393,
"h": 108.2
},
"luminance": 0.20636
}Semantic roles & 50–950 ramp
primary
#838121
secondary
#4B4DB5
accent
#48E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A