#9E8D26#9E8D26
#9E8D26 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.120 H 99.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8D26 |
|---|---|
| RGB | rgb(158, 141, 38) |
| HSL | hsl(52, 61%, 38%) |
| HSV | hsv(52, 76%, 62%) |
| CMYK | cmyk(0%, 10.8%, 75.9%, 38%) |
| CIE-LAB | lab(58.47, -5.07, 53.68) |
| CIE-LCH | lch(58.47, 53.92, 95.40°) |
| OKLab | oklab(64.03% -0.0197 0.118) |
| OKLCH | oklch(64.03% 0.12 99.5) |
| XYZ | xyz(23.9764, 26.4600, 5.6777) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.17
Baby Shit Brown
#AD900D
ΔE00 4.46
Dark Mustard
#A88905
ΔE00 4.62
Diarrhea
#9F8303
ΔE00 4.64
Brown Yellow
#B29705
ΔE00 5.64
Yellowy Brown
#AE8B0C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8D26 #26379E
analogous
#9E5126 #9E8D26 #739E26
triadic
#9E8D26 #269E8D #8D269E
tetradic
#9E8D26 #269E51 #26379E #9E2673
square
#9E8D26 #269E51 #26379E #9E2673
split-complementary
#9E8D26 #26739E #51269E
monochromatic
#3B350E #6D611A #9E8D26 #CEB833 #DAC965
Accessibility & contrast
On white
3.34
#9E8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#9E8D26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8D26
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8D26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8D26 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8d26; /* rgb */ color: rgb(158, 141, 38); /* oklch */ color: oklch(64.0% 0.120 99.5);
Tailwind
colors: {
custom: {
50: '#beae68',
500: '#9e8d26',
950: '#000000',
},
}SCSS
$custom: #9e8d26; $custom-light: #beae68; $custom-dark: #000000;
JSON
{
"hex": "#9e8d26",
"rgb": {
"r": 158,
"g": 141,
"b": 38
},
"hsl": {
"h": 51.5,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.64028,
"c": 0.11958,
"h": 99.5
},
"luminance": 0.26459
}Semantic roles & 50–950 ramp
primary
#9E8D26
secondary
#606EC0
accent
#5AE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A