#978D1C#978D1C
#978D1C is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.125 H 104.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #978D1C |
|---|---|
| RGB | rgb(151, 141, 28) |
| HSL | hsl(55, 69%, 35%) |
| HSV | hsv(55, 81%, 59%) |
| CMYK | cmyk(0%, 6.6%, 81.5%, 40.8%) |
| CIE-LAB | lab(57.76, -8.66, 56.15) |
| CIE-LCH | lch(57.76, 56.82, 98.76°) |
| OKLab | oklab(63.3% -0.0304 0.1216) |
| OKLCH | oklch(63.3% 0.125 104) |
| XYZ | xyz(22.4980, 25.7139, 4.8766) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.64
Baby Poo
#AB9004
ΔE00 5.70
Baby Poop Green
#8F9805
ΔE00 5.80
Diarrhea
#9F8303
ΔE00 6.04
Olive
#808000
ΔE00 6.15
Baby Shit Brown
#AD900D
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D1C #1C2697
analogous
#97501C #978D1C #63971C
triadic
#978D1C #1C978D #8D1C97
tetradic
#978D1C #1C9750 #1C2697 #971C63
square
#978D1C #1C9750 #1C2697 #971C63
split-complementary
#978D1C #1C6397 #501C97
monochromatic
#302D09 #635D12 #978D1C #CBBD26 #DED34F
Accessibility & contrast
On white
3.42
#978D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#978D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D1C
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D1C | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#A38378
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d1c; /* rgb */ color: rgb(151, 141, 28); /* oklch */ color: oklch(63.3% 0.125 104.0);
Tailwind
colors: {
custom: {
50: '#b9ae64',
500: '#978d1c',
950: '#000000',
},
}SCSS
$custom: #978d1c; $custom-light: #b9ae64; $custom-dark: #000000;
JSON
{
"hex": "#978d1c",
"rgb": {
"r": 151,
"g": 141,
"b": 28
},
"hsl": {
"h": 55.122,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.63295,
"c": 0.12528,
"h": 104
},
"luminance": 0.25713
}Semantic roles & 50–950 ramp
primary
#978D1C
secondary
#4E57C1
accent
#4AEC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A