#968F21#968F21
#968F21 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.125 H 105.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #968F21 |
|---|---|
| RGB | rgb(150, 143, 33) |
| HSL | hsl(56, 64%, 36%) |
| HSV | hsv(56, 78%, 59%) |
| CMYK | cmyk(0%, 4.7%, 78%, 41.2%) |
| CIE-LAB | lab(58.26, -10.00, 54.98) |
| CIE-LCH | lch(58.26, 55.88, 100.31°) |
| OKLab | oklab(63.68% -0.0336 0.1201) |
| OKLCH | oklch(63.68% 0.125 105.6) |
| XYZ | xyz(22.6756, 26.2396, 5.3089) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.83
Baby Poop Green
#8F9805
ΔE00 4.93
Baby Shit Green
#889717
ΔE00 5.93
Olive
#808000
ΔE00 6.28
Baby Poo
#AB9004
ΔE00 6.46
Baby Shit Brown
#AD900D
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968F21 #212896
analogous
#965421 #968F21 #629621
triadic
#968F21 #21968F #8F2196
tetradic
#968F21 #219654 #212896 #962162
square
#968F21 #219654 #212896 #962162
split-complementary
#968F21 #216296 #542196
monochromatic
#322F0B #645F16 #968F21 #C8BF2C #DAD257
Accessibility & contrast
On white
3.36
#968F21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#968F21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968F21
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968F21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968F21 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A05
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#A2857A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #968f21; /* rgb */ color: rgb(150, 143, 33); /* oklch */ color: oklch(63.7% 0.125 105.6);
Tailwind
colors: {
custom: {
50: '#b8af66',
500: '#968f21',
950: '#000000',
},
}SCSS
$custom: #968f21; $custom-light: #b8af66; $custom-dark: #000000;
JSON
{
"hex": "#968f21",
"rgb": {
"r": 150,
"g": 143,
"b": 33
},
"hsl": {
"h": 56.41,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.63678,
"c": 0.12468,
"h": 105.6
},
"luminance": 0.26239
}Semantic roles & 50–950 ramp
primary
#968F21
secondary
#555BBE
accent
#4BE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A