#968827#968827
#968827 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.115 H 100.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #968827 |
|---|---|
| RGB | rgb(150, 136, 39) |
| HSL | hsl(52, 59%, 37%) |
| HSV | hsv(52, 74%, 59%) |
| CMYK | cmyk(0%, 9.3%, 74%, 41.2%) |
| CIE-LAB | lab(56.33, -5.93, 50.98) |
| CIE-LCH | lch(56.33, 51.33, 96.64°) |
| OKLab | oklab(62.15% -0.0216 0.1128) |
| OKLCH | oklch(62.15% 0.115 100.8) |
| XYZ | xyz(21.7490, 24.2398, 5.4522) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.91
Baby Poop
#937C00
ΔE00 5.09
Dark Mustard
#A88905
ΔE00 5.89
Olive
#808000
ΔE00 6.01
Baby Poo
#AB9004
ΔE00 6.10
Baby Shit Brown
#AD900D
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968827 #273596
analogous
#965027 #968827 #6D9627
triadic
#968827 #279688 #882796
tetradic
#968827 #279650 #273596 #96276D
square
#968827 #279650 #273596 #96276D
split-complementary
#968827 #276D96 #502796
monochromatic
#35300E #655C1A #968827 #C7B434 #D6C761
Accessibility & contrast
On white
3.59
#968827 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#968827 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #968827
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968827 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#A27E75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #968827; /* rgb */ color: rgb(150, 136, 39); /* oklch */ color: oklch(62.1% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#b8aa68',
500: '#968827',
950: '#000000',
},
}SCSS
$custom: #968827; $custom-light: #b8aa68; $custom-dark: #000000;
JSON
{
"hex": "#968827",
"rgb": {
"r": 150,
"g": 136,
"b": 39
},
"hsl": {
"h": 52.432,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.62149,
"c": 0.11481,
"h": 100.8
},
"luminance": 0.24239
}Semantic roles & 50–950 ramp
primary
#968827
secondary
#5D69BC
accent
#5AE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A