#97901D#97901D
#97901D is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.128 H 105.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #97901D |
|---|---|
| RGB | rgb(151, 144, 29) |
| HSL | hsl(57, 68%, 35%) |
| HSV | hsv(57, 81%, 59%) |
| CMYK | cmyk(0%, 4.6%, 80.8%, 40.8%) |
| CIE-LAB | lab(58.62, -10.23, 56.60) |
| CIE-LCH | lch(58.62, 57.52, 100.25°) |
| OKLab | oklab(63.98% -0.0347 0.1227) |
| OKLCH | oklch(63.98% 0.128 105.8) |
| XYZ | xyz(22.9585, 26.6154, 5.0901) |
| Luminance | 0.2661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.49
Baby Poop Green
#8F9805
ΔE00 4.66
Baby Shit Green
#889717
ΔE00 5.86
Baby Poo
#AB9004
ΔE00 6.25
Vomit
#A2A415
ΔE00 6.55
Olive
#808000
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97901D #1D2497
analogous
#97531D #97901D #61971D
triadic
#97901D #1D9790 #901D97
tetradic
#97901D #1D9753 #1D2497 #971D61
square
#97901D #1D9753 #1D2497 #971D61
split-complementary
#97901D #1D6197 #531D97
monochromatic
#302E09 #645F13 #97901D #CAC127 #DED551
Accessibility & contrast
On white
3.32
#97901D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#97901D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97901D
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97901D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97901D | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #97901d; /* rgb */ color: rgb(151, 144, 29); /* oklch */ color: oklch(64.0% 0.128 105.8);
Tailwind
colors: {
custom: {
50: '#b9b064',
500: '#97901d',
950: '#000000',
},
}SCSS
$custom: #97901d; $custom-light: #b9b064; $custom-dark: #000000;
JSON
{
"hex": "#97901d",
"rgb": {
"r": 151,
"g": 144,
"b": 29
},
"hsl": {
"h": 56.557,
"s": 67.778,
"l": 35.294
},
"oklch": {
"l": 0.63975,
"c": 0.12753,
"h": 105.8
},
"luminance": 0.26615
}Semantic roles & 50–950 ramp
primary
#97901D
secondary
#4F56C0
accent
#47EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A