#978B33#978B33
#978B33 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.109 H 101.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #978B33 |
|---|---|
| RGB | rgb(151, 139, 51) |
| HSL | hsl(53, 50%, 40%) |
| HSV | hsv(53, 66%, 59%) |
| CMYK | cmyk(0%, 7.9%, 66.2%, 40.8%) |
| CIE-LAB | lab(57.35, -6.44, 47.03) |
| CIE-LCH | lch(57.35, 47.47, 97.80°) |
| OKLab | oklab(63.01% -0.0217 0.1065) |
| OKLCH | oklch(63.01% 0.109 101.5) |
| XYZ | xyz(22.5936, 25.2845, 6.8216) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.57
Diarrhea
#9F8303
ΔE00 6.23
Baby Poop
#937C00
ΔE00 6.62
Baby Poo
#AB9004
ΔE00 6.74
Olive
#808000
ΔE00 6.78
Dark Mustard
#A88905
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B33 #333F97
analogous
#975933 #978B33 #719733
triadic
#978B33 #33978B #8B3397
tetradic
#978B33 #339759 #333F97 #973371
square
#978B33 #339759 #333F97 #973371
split-complementary
#978B33 #337197 #593397
monochromatic
#3C3714 #696124 #978B33 #C1B247 #D0C574
Accessibility & contrast
On white
3.47
#978B33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#978B33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B33
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B33 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#A28179
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978b33; /* rgb */ color: rgb(151, 139, 51); /* oklch */ color: oklch(63.0% 0.109 101.5);
Tailwind
colors: {
custom: {
50: '#b8ac6f',
500: '#978b33',
950: '#000000',
},
}SCSS
$custom: #978b33; $custom-light: #b8ac6f; $custom-dark: #000000;
JSON
{
"hex": "#978b33",
"rgb": {
"r": 151,
"g": 139,
"b": 51
},
"hsl": {
"h": 52.8,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.63014,
"c": 0.10872,
"h": 101.5
},
"luminance": 0.25284
}Semantic roles & 50–950 ramp
primary
#978B33
secondary
#6D76B8
accent
#5FD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B