#978B1B#978B1B
#978B1B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.124 H 102.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #978B1B |
|---|---|
| RGB | rgb(151, 139, 27) |
| HSL | hsl(54, 70%, 35%) |
| HSV | hsv(54, 82%, 59%) |
| CMYK | cmyk(0%, 7.9%, 82.1%, 40.8%) |
| CIE-LAB | lab(57.20, -7.61, 55.96) |
| CIE-LCH | lch(57.20, 56.47, 97.74°) |
| OKLab | oklab(62.84% -0.0275 0.1209) |
| OKLCH | oklch(62.84% 0.124 102.8) |
| XYZ | xyz(22.1940, 25.1247, 4.7172) |
| Luminance | 0.2512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.29
Baby Poo
#AB9004
ΔE00 5.45
Baby Poop
#937C00
ΔE00 5.86
Dark Mustard
#A88905
ΔE00 5.88
Baby Shit Brown
#AD900D
ΔE00 5.91
Olive
#808000
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978B1B #1B2797
analogous
#974D1B #978B1B #65971B
triadic
#978B1B #1B978B #8B1B97
tetradic
#978B1B #1B974D #1B2797 #971B65
square
#978B1B #1B974D #1B2797 #971B65
split-complementary
#978B1B #1B6597 #4D1B97
monochromatic
#2F2B08 #635B12 #978B1B #CBBB24 #DFD14D
Accessibility & contrast
On white
3.49
#978B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#978B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978B1B
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978B1B | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9C8C24
Tritanopia (blue-blind)
#A38077
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #978b1b; /* rgb */ color: rgb(151, 139, 27); /* oklch */ color: oklch(62.8% 0.124 102.8);
Tailwind
colors: {
custom: {
50: '#b9ac63',
500: '#978b1b',
950: '#000000',
},
}SCSS
$custom: #978b1b; $custom-light: #b9ac63; $custom-dark: #000000;
JSON
{
"hex": "#978b1b",
"rgb": {
"r": 151,
"g": 139,
"b": 27
},
"hsl": {
"h": 54.194,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.62841,
"c": 0.12402,
"h": 102.8
},
"luminance": 0.25124
}Semantic roles & 50–950 ramp
primary
#978B1B
secondary
#4C58C1
accent
#4CEC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A