#977F28#977F28
#977F28 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.107 H 93.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #977F28 |
|---|---|
| RGB | rgb(151, 127, 40) |
| HSL | hsl(47, 58%, 37%) |
| HSV | hsv(47, 74%, 59%) |
| CMYK | cmyk(0%, 15.9%, 73.5%, 40.8%) |
| CIE-LAB | lab(53.93, -0.44, 48.27) |
| CIE-LCH | lch(53.93, 48.27, 90.52°) |
| OKLab | oklab(60.28% -0.0059 0.1072) |
| OKLCH | oklch(60.28% 0.107 93.2) |
| XYZ | xyz(20.7360, 21.9124, 5.1444) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.27
Hazel
#8E7618
ΔE00 3.54
Puke Brown
#947706
ΔE00 3.72
Diarrhea
#9F8303
ΔE00 3.87
Yellowish Brown
#9B7A01
ΔE00 3.88
Poo
#8F7303
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977F28 #284097
analogous
#974828 #977F28 #789728
triadic
#977F28 #28977F #7F2897
tetradic
#977F28 #289748 #284097 #972878
square
#977F28 #289748 #284097 #972878
split-complementary
#977F28 #287897 #482897
monochromatic
#362E0E #67561B #977F28 #C7A835 #D6BD64
Accessibility & contrast
On white
3.90
#977F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#977F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977F28
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977F28 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#A3756E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #977f28; /* rgb */ color: rgb(151, 127, 40); /* oklch */ color: oklch(60.3% 0.107 93.2);
Tailwind
colors: {
custom: {
50: '#b9a368',
500: '#977f28',
950: '#000000',
},
}SCSS
$custom: #977f28; $custom-light: #b9a368; $custom-dark: #000000;
JSON
{
"hex": "#977f28",
"rgb": {
"r": 151,
"g": 127,
"b": 40
},
"hsl": {
"h": 47.027,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.6028,
"c": 0.10734,
"h": 93.2
},
"luminance": 0.21911
}Semantic roles & 50–950 ramp
primary
#977F28
secondary
#5F73BC
accent
#68E146
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A