#978F2F#978F2F
#978F2F is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.116 H 104.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #978F2F |
|---|---|
| RGB | rgb(151, 143, 47) |
| HSL | hsl(55, 53%, 39%) |
| HSV | hsv(55, 69%, 59%) |
| CMYK | cmyk(0%, 5.3%, 68.9%, 40.8%) |
| CIE-LAB | lab(58.44, -8.85, 49.89) |
| CIE-LCH | lch(58.44, 50.67, 100.06°) |
| OKLab | oklab(63.87% -0.029 0.1119) |
| OKLCH | oklch(63.87% 0.116 104.5) |
| XYZ | xyz(23.0990, 26.4303, 6.5736) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.80
Baby Poop Green
#8F9805
ΔE00 5.84
Baby Shit Green
#889717
ΔE00 6.49
Dark Khaki
#9B8F55
ΔE00 6.50
Olive
#808000
ΔE00 6.78
Baby Poo
#AB9004
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978F2F #2F3797
analogous
#975B2F #978F2F #6B972F
triadic
#978F2F #2F978F #8F2F97
tetradic
#978F2F #2F975B #2F3797 #972F6B
square
#978F2F #2F975B #2F3797 #972F6B
split-complementary
#978F2F #2F6B97 #5B2F97
monochromatic
#3A3712 #686320 #978F2F #C3B940 #D2CA6E
Accessibility & contrast
On white
3.34
#978F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#978F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978F2F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978F2F | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A21
Deuteranopia (green-blind)
#9E8F35
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978f2f; /* rgb */ color: rgb(151, 143, 47); /* oklch */ color: oklch(63.9% 0.116 104.5);
Tailwind
colors: {
custom: {
50: '#b9af6d',
500: '#978f2f',
950: '#000000',
},
}SCSS
$custom: #978f2f; $custom-light: #b9af6d; $custom-dark: #000000;
JSON
{
"hex": "#978f2f",
"rgb": {
"r": 151,
"g": 143,
"b": 47
},
"hsl": {
"h": 55.385,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.63871,
"c": 0.11559,
"h": 104.5
},
"luminance": 0.26429
}Semantic roles & 50–950 ramp
primary
#978F2F
secondary
#686FB9
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A