#968E28#968E28
#968E28 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.120 H 104.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #968E28 |
|---|---|
| RGB | rgb(150, 142, 40) |
| HSL | hsl(56, 58%, 37%) |
| HSV | hsv(56, 73%, 59%) |
| CMYK | cmyk(0%, 5.3%, 73.3%, 41.2%) |
| CIE-LAB | lab(58.02, -9.14, 52.24) |
| CIE-LCH | lch(58.02, 53.04, 99.93°) |
| OKLab | oklab(63.5% -0.0305 0.1156) |
| OKLCH | oklch(63.5% 0.12 104.8) |
| XYZ | xyz(22.6346, 25.9841, 5.8302) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.54
Baby Poop Green
#8F9805
ΔE00 5.59
Olive
#808000
ΔE00 6.26
Baby Shit Green
#889717
ΔE00 6.39
Baby Poo
#AB9004
ΔE00 6.58
Diarrhea
#9F8303
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968E28 #283096
analogous
#965728 #968E28 #679628
triadic
#968E28 #28968E #8E2896
tetradic
#968E28 #289657 #283096 #962867
square
#968E28 #289657 #283096 #962867
split-complementary
#968E28 #286796 #572896
monochromatic
#35330E #66601B #968E28 #C6BC35 #D5CD63
Accessibility & contrast
On white
3.39
#968E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#968E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968E28
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968E28 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9E8D2F
Tritanopia (blue-blind)
#A1847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #968e28; /* rgb */ color: rgb(150, 142, 40); /* oklch */ color: oklch(63.5% 0.120 104.8);
Tailwind
colors: {
custom: {
50: '#b8ae69',
500: '#968e28',
950: '#000000',
},
}SCSS
$custom: #968e28; $custom-light: #b8ae69; $custom-dark: #000000;
JSON
{
"hex": "#968e28",
"rgb": {
"r": 150,
"g": 142,
"b": 40
},
"hsl": {
"h": 55.636,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.63499,
"c": 0.11959,
"h": 104.8
},
"luminance": 0.25983
}Semantic roles & 50–950 ramp
primary
#968E28
secondary
#5F65BB
accent
#52E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A