#978E2F#978E2F
#978E2F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.115 H 103.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #978E2F |
|---|---|
| RGB | rgb(151, 142, 47) |
| HSL | hsl(55, 53%, 39%) |
| HSV | hsv(55, 69%, 59%) |
| CMYK | cmyk(0%, 6%, 68.9%, 40.8%) |
| CIE-LAB | lab(58.16, -8.31, 49.60) |
| CIE-LCH | lch(58.16, 50.30, 99.51°) |
| OKLab | oklab(63.65% -0.0275 0.1113) |
| OKLCH | oklch(63.65% 0.115 103.9) |
| XYZ | xyz(22.9495, 26.1314, 6.5238) |
| Luminance | 0.2613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.17
Baby Poop Green
#8F9805
ΔE00 6.21
Dark Khaki
#9B8F55
ΔE00 6.36
Olive
#808000
ΔE00 6.68
Baby Poo
#AB9004
ΔE00 6.69
Baby Shit Green
#889717
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E2F #2F3897
analogous
#975A2F #978E2F #6C972F
triadic
#978E2F #2F978E #8E2F97
tetradic
#978E2F #2F975A #2F3897 #972F6C
square
#978E2F #2F975A #2F3897 #972F6C
split-complementary
#978E2F #2F6C97 #5A2F97
monochromatic
#3A3612 #686220 #978E2F #C3B840 #D2C96E
Accessibility & contrast
On white
3.37
#978E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#978E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E2F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E2F | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8922
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e2f; /* rgb */ color: rgb(151, 142, 47); /* oklch */ color: oklch(63.6% 0.115 103.9);
Tailwind
colors: {
custom: {
50: '#b9ae6d',
500: '#978e2f',
950: '#000000',
},
}SCSS
$custom: #978e2f; $custom-light: #b9ae6d; $custom-dark: #000000;
JSON
{
"hex": "#978e2f",
"rgb": {
"r": 151,
"g": 142,
"b": 47
},
"hsl": {
"h": 54.808,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.63647,
"c": 0.11463,
"h": 103.9
},
"luminance": 0.26131
}Semantic roles & 50–950 ramp
primary
#978E2F
secondary
#686FB9
accent
#58DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A