#97901F#97901F
#97901F is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.127 H 105.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #97901F |
|---|---|
| RGB | rgb(151, 144, 31) |
| HSL | hsl(57, 66%, 36%) |
| HSV | hsv(57, 79%, 59%) |
| CMYK | cmyk(0%, 4.6%, 79.5%, 40.8%) |
| CIE-LAB | lab(58.63, -10.16, 55.99) |
| CIE-LCH | lch(58.63, 56.90, 100.28°) |
| OKLab | oklab(63.99% -0.0343 0.1218) |
| OKLCH | oklch(63.99% 0.127 105.7) |
| XYZ | xyz(22.9841, 26.6256, 5.2246) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.55
Baby Poop Green
#8F9805
ΔE00 4.71
Baby Shit Green
#889717
ΔE00 5.85
Baby Poo
#AB9004
ΔE00 6.30
Olive
#808000
ΔE00 6.58
Vomit
#A2A415
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97901F #1F2697
analogous
#97541F #97901F #62971F
triadic
#97901F #1F9790 #901F97
tetradic
#97901F #1F9754 #1F2697 #971F62
square
#97901F #1F9754 #1F2697 #971F62
split-complementary
#97901F #1F6297 #541F97
monochromatic
#312F0A #646015 #97901F #CAC029 #DCD454
Accessibility & contrast
On white
3.32
#97901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#97901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97901F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97901F | 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)
#A08F28
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #97901f; /* rgb */ color: rgb(151, 144, 31); /* oklch */ color: oklch(64.0% 0.127 105.7);
Tailwind
colors: {
custom: {
50: '#b9b065',
500: '#97901f',
950: '#000000',
},
}SCSS
$custom: #97901f; $custom-light: #b9b065; $custom-dark: #000000;
JSON
{
"hex": "#97901f",
"rgb": {
"r": 151,
"g": 144,
"b": 31
},
"hsl": {
"h": 56.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.63985,
"c": 0.12653,
"h": 105.7
},
"luminance": 0.26625
}Semantic roles & 50–950 ramp
primary
#97901F
secondary
#5259BF
accent
#49E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A