#9E8A34#9E8A34
#9E8A34 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.107 H 96.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8A34 |
|---|---|
| RGB | rgb(158, 138, 52) |
| HSL | hsl(49, 50%, 41%) |
| HSV | hsv(49, 67%, 62%) |
| CMYK | cmyk(0%, 12.7%, 67.1%, 38%) |
| CIE-LAB | lab(57.75, -2.68, 47.21) |
| CIE-LCH | lch(57.75, 47.28, 93.25°) |
| OKLab | oklab(63.49% -0.0113 0.1069) |
| OKLCH | oklch(63.49% 0.107 96) |
| XYZ | xyz(23.8100, 25.6952, 6.9537) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.68
Dark Mustard
#A88905
ΔE00 5.00
Baby Shit Brown
#AD900D
ΔE00 5.46
Baby Poo
#AB9004
ΔE00 5.48
Dark Khaki
#9B8F55
ΔE00 5.71
Yellowy Brown
#AE8B0C
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8A34 #34489E
analogous
#9E5534 #9E8A34 #7D9E34
triadic
#9E8A34 #349E8A #8A349E
tetradic
#9E8A34 #349E55 #34489E #9E347D
square
#9E8A34 #349E55 #34489E #9E347D
split-complementary
#9E8A34 #347D9E #55349E
monochromatic
#423A16 #706225 #9E8A34 #C4AD4B #D3C279
Accessibility & contrast
On white
3.42
#9E8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9E8A34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8A34
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8A34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8A34 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988729
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9e8a34; /* rgb */ color: rgb(158, 138, 52); /* oklch */ color: oklch(63.5% 0.107 96.0);
Tailwind
colors: {
custom: {
50: '#beab70',
500: '#9e8a34',
950: '#000000',
},
}SCSS
$custom: #9e8a34; $custom-light: #beab70; $custom-dark: #000000;
JSON
{
"hex": "#9e8a34",
"rgb": {
"r": 158,
"g": 138,
"b": 52
},
"hsl": {
"h": 48.679,
"s": 50.476,
"l": 41.176
},
"oklch": {
"l": 0.63487,
"c": 0.10745,
"h": 96
},
"luminance": 0.25694
}Semantic roles & 50–950 ramp
primary
#9E8A34
secondary
#7280BC
accent
#68DA4E
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B