#978833#978833
#978833 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.106 H 99.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #978833 |
|---|---|
| RGB | rgb(151, 136, 51) |
| HSL | hsl(51, 50%, 40%) |
| HSV | hsv(51, 66%, 59%) |
| CMYK | cmyk(0%, 9.9%, 66.2%, 40.8%) |
| CIE-LAB | lab(56.51, -4.80, 46.15) |
| CIE-LCH | lch(56.51, 46.40, 95.93°) |
| OKLab | oklab(62.35% -0.017 0.1047) |
| OKLCH | oklch(62.35% 0.106 99.2) |
| XYZ | xyz(22.1651, 24.4276, 6.6788) |
| Luminance | 0.2443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.49
Dark Khaki
#9B8F55
ΔE00 5.55
Baby Poop
#937C00
ΔE00 5.72
Dark Mustard
#A88905
ΔE00 6.38
Baby Poo
#AB9004
ΔE00 6.77
Hazel
#8E7618
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978833 #334297
analogous
#975633 #978833 #749733
triadic
#978833 #339788 #883397
tetradic
#978833 #339756 #334297 #973374
square
#978833 #339756 #334297 #973374
split-complementary
#978833 #337497 #563397
monochromatic
#3C3614 #695F24 #978833 #C1AE47 #D0C274
Accessibility & contrast
On white
3.57
#978833 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#978833 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978833
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978833 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978833 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958429
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #978833; /* rgb */ color: rgb(151, 136, 51); /* oklch */ color: oklch(62.3% 0.106 99.2);
Tailwind
colors: {
custom: {
50: '#b8aa6f',
500: '#978833',
950: '#000000',
},
}SCSS
$custom: #978833; $custom-light: #b8aa6f; $custom-dark: #000000;
JSON
{
"hex": "#978833",
"rgb": {
"r": 151,
"g": 136,
"b": 51
},
"hsl": {
"h": 51,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.62349,
"c": 0.10603,
"h": 99.2
},
"luminance": 0.24427
}Semantic roles & 50–950 ramp
primary
#978833
secondary
#6D79B8
accent
#64D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A