#968C22#968C22
#968C22 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.121 H 103.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #968C22 |
|---|---|
| RGB | rgb(150, 140, 34) |
| HSL | hsl(55, 63%, 36%) |
| HSV | hsv(55, 77%, 59%) |
| CMYK | cmyk(0%, 6.7%, 77.3%, 41.2%) |
| CIE-LAB | lab(57.42, -8.34, 53.86) |
| CIE-LCH | lch(57.42, 54.50, 98.80°) |
| OKLab | oklab(63.01% -0.0289 0.1179) |
| OKLCH | oklch(63.01% 0.121 103.8) |
| XYZ | xyz(22.2455, 25.3566, 5.2356) |
| Luminance | 0.2536 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.92
Diarrhea
#9F8303
ΔE00 6.04
Pea Soup
#929901
ΔE00 6.05
Baby Poo
#AB9004
ΔE00 6.06
Baby Poop Green
#8F9805
ΔE00 6.13
Baby Poop
#937C00
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968C22 #222C96
analogous
#965222 #968C22 #669622
triadic
#968C22 #22968C #8C2296
tetradic
#968C22 #229652 #222C96 #962266
square
#968C22 #229652 #222C96 #962266
split-complementary
#968C22 #226696 #522296
monochromatic
#322F0B #645D17 #968C22 #C8BB2D #D9CE59
Accessibility & contrast
On white
3.46
#968C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#968C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968C22
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968C22 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#A28278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #968c22; /* rgb */ color: rgb(150, 140, 34); /* oklch */ color: oklch(63.0% 0.121 103.8);
Tailwind
colors: {
custom: {
50: '#b8ad66',
500: '#968c22',
950: '#000000',
},
}SCSS
$custom: #968c22; $custom-light: #b8ad66; $custom-dark: #000000;
JSON
{
"hex": "#968c22",
"rgb": {
"r": 150,
"g": 140,
"b": 34
},
"hsl": {
"h": 54.828,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.63009,
"c": 0.12137,
"h": 103.8
},
"luminance": 0.25356
}Semantic roles & 50–950 ramp
primary
#968C22
secondary
#565FBE
accent
#50E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A