#9E8F22#9E8F22
#9E8F22 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.123 H 101.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8F22 |
|---|---|
| RGB | rgb(158, 143, 34) |
| HSL | hsl(53, 65%, 38%) |
| HSV | hsv(53, 78%, 62%) |
| CMYK | cmyk(0%, 9.5%, 78.5%, 38%) |
| CIE-LAB | lab(59.00, -6.33, 55.59) |
| CIE-LCH | lch(59.00, 55.94, 96.49°) |
| OKLab | oklab(64.44% -0.0236 0.1212) |
| OKLCH | oklch(64.44% 0.124 101) |
| XYZ | xyz(24.2129, 27.0307, 5.4551) |
| Luminance | 0.2703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.17
Baby Shit Brown
#AD900D
ΔE00 4.58
Dark Mustard
#A88905
ΔE00 5.11
Diarrhea
#9F8303
ΔE00 5.30
Brown Yellow
#B29705
ΔE00 5.36
Yellowy Brown
#AE8B0C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8F22 #22319E
analogous
#9E5122 #9E8F22 #6F9E22
triadic
#9E8F22 #229E8F #8F229E
tetradic
#9E8F22 #229E51 #22319E #9E226F
square
#9E8F22 #229E51 #22319E #9E226F
split-complementary
#9E8F22 #226F9E #51229E
monochromatic
#39340C #6C6117 #9E8F22 #D0BD2D #DCCD5E
Accessibility & contrast
On white
3.28
#9E8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#9E8F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8F22
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8F22 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B08
Deuteranopia (green-blind)
#A1912A
Tritanopia (blue-blind)
#AB847B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9e8f22; /* rgb */ color: rgb(158, 143, 34); /* oklch */ color: oklch(64.4% 0.123 101.0);
Tailwind
colors: {
custom: {
50: '#beaf67',
500: '#9e8f22',
950: '#000000',
},
}SCSS
$custom: #9e8f22; $custom-light: #beaf67; $custom-dark: #000000;
JSON
{
"hex": "#9e8f22",
"rgb": {
"r": 158,
"g": 143,
"b": 34
},
"hsl": {
"h": 52.742,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.64443,
"c": 0.1235,
"h": 101
},
"luminance": 0.2703
}Semantic roles & 50–950 ramp
primary
#9E8F22
secondary
#5B67C1
accent
#54E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A