#968E22#968E22
#968E22 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.123 H 105.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #968E22 |
|---|---|
| RGB | rgb(150, 142, 34) |
| HSL | hsl(56, 63%, 36%) |
| HSV | hsv(56, 77%, 59%) |
| CMYK | cmyk(0%, 5.3%, 77.3%, 41.2%) |
| CIE-LAB | lab(57.99, -9.42, 54.38) |
| CIE-LCH | lch(57.99, 55.19, 99.82°) |
| OKLab | oklab(63.46% -0.0319 0.119) |
| OKLCH | oklch(63.46% 0.123 105) |
| XYZ | xyz(22.5404, 25.9464, 5.3339) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.25
Baby Poop Green
#8F9805
ΔE00 5.34
Olive
#808000
ΔE00 6.14
Baby Shit Green
#889717
ΔE00 6.30
Baby Poo
#AB9004
ΔE00 6.33
Diarrhea
#9F8303
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968E22 #222A96
analogous
#965422 #968E22 #649622
triadic
#968E22 #22968E #8E2296
tetradic
#968E22 #229654 #222A96 #962264
square
#968E22 #229654 #222A96 #962264
split-complementary
#968E22 #226496 #542296
monochromatic
#32300B #645F17 #968E22 #C8BD2D #D9D159
Accessibility & contrast
On white
3.39
#968E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#968E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968E22
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968E22 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#9E8D2A
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968e22; /* rgb */ color: rgb(150, 142, 34); /* oklch */ color: oklch(63.5% 0.123 105.0);
Tailwind
colors: {
custom: {
50: '#b8ae66',
500: '#968e22',
950: '#000000',
},
}SCSS
$custom: #968e22; $custom-light: #b8ae66; $custom-dark: #000000;
JSON
{
"hex": "#968e22",
"rgb": {
"r": 150,
"g": 142,
"b": 34
},
"hsl": {
"h": 55.862,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.63459,
"c": 0.1232,
"h": 105
},
"luminance": 0.25946
}Semantic roles & 50–950 ramp
primary
#968E22
secondary
#565DBE
accent
#4DE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A