#838951#838951
#838951 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.078 H 113.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #838951 |
|---|---|
| RGB | rgb(131, 137, 81) |
| HSL | hsl(66, 26%, 43%) |
| HSV | hsv(66, 41%, 54%) |
| CMYK | cmyk(4.4%, 0%, 40.9%, 46.3%) |
| CIE-LAB | lab(55.39, -11.36, 29.27) |
| CIE-LCH | lch(55.39, 31.40, 111.22°) |
| OKLab | oklab(61.15% -0.0313 0.0713) |
| OKLCH | oklch(61.15% 0.078 113.7) |
| XYZ | xyz(19.7911, 23.3109, 11.2399) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.12
Camo
#7F8F4E
ΔE00 3.37
Khaki Green
#728639
ΔE00 5.58
Moss Green
#8A9A5B
ΔE00 5.88
Dark Khaki
#9B8F55
ΔE00 6.93
Swamp
#698339
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#838951 #575189
analogous
#897351 #838951 #678951
triadic
#838951 #518389 #895183
tetradic
#838951 #518973 #575189 #895167
square
#838951 #518973 #575189 #895167
split-complementary
#838951 #516789 #735189
monochromatic
#393C24 #5E633A #838951 #A3A96E #BBC094
Accessibility & contrast
On white
3.71
#838951 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#838951 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #838951
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##838951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##838951 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91844D
Deuteranopia (green-blind)
#908554
Tritanopia (blue-blind)
#89837B
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #838951; /* rgb */ color: rgb(131, 137, 81); /* oklch */ color: oklch(61.1% 0.078 113.7);
Tailwind
colors: {
custom: {
50: '#a8ab83',
500: '#838951',
950: '#000000',
},
}SCSS
$custom: #838951; $custom-light: #a8ab83; $custom-dark: #000000;
JSON
{
"hex": "#838951",
"rgb": {
"r": 131,
"g": 137,
"b": 81
},
"hsl": {
"h": 66.429,
"s": 25.688,
"l": 42.745
},
"oklch": {
"l": 0.61146,
"c": 0.07791,
"h": 113.7
},
"luminance": 0.23311
}Semantic roles & 50–950 ramp
primary
#838951
secondary
#8D89AD
accent
#66C270
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100A
muted
#7F7F7C