#9E8926#9E8926
#9E8926 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.117 H 96.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8926 |
|---|---|
| RGB | rgb(158, 137, 38) |
| HSL | hsl(50, 61%, 38%) |
| HSV | hsv(50, 76%, 62%) |
| CMYK | cmyk(0%, 13.3%, 75.9%, 38%) |
| CIE-LAB | lab(57.37, -2.88, 52.63) |
| CIE-LCH | lch(57.37, 52.71, 93.13°) |
| OKLab | oklab(63.15% -0.0135 0.1157) |
| OKLCH | oklch(63.15% 0.117 96.6) |
| XYZ | xyz(23.3973, 25.3016, 5.4847) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.30
Dark Mustard
#A88905
ΔE00 3.75
Baby Poo
#AB9004
ΔE00 4.31
Baby Shit Brown
#AD900D
ΔE00 4.42
Yellowy Brown
#AE8B0C
ΔE00 4.84
Baby Poop
#937C00
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8926 #263B9E
analogous
#9E4D26 #9E8926 #779E26
triadic
#9E8926 #269E89 #89269E
tetradic
#9E8926 #269E4D #263B9E #9E2677
square
#9E8926 #269E4D #263B9E #9E2677
split-complementary
#9E8926 #26779E #4D269E
monochromatic
#3B330E #6D5E1A #9E8926 #CEB333 #DAC565
Accessibility & contrast
On white
3.47
#9E8926 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#9E8926 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8926
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8926 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978614
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8926; /* rgb */ color: rgb(158, 137, 38); /* oklch */ color: oklch(63.2% 0.117 96.6);
Tailwind
colors: {
custom: {
50: '#beab68',
500: '#9e8926',
950: '#000000',
},
}SCSS
$custom: #9e8926; $custom-light: #beab68; $custom-dark: #000000;
JSON
{
"hex": "#9e8926",
"rgb": {
"r": 158,
"g": 137,
"b": 38
},
"hsl": {
"h": 49.5,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.63154,
"c": 0.11651,
"h": 96.6
},
"luminance": 0.253
}Semantic roles & 50–950 ramp
primary
#9E8926
secondary
#6071C0
accent
#60E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A