#97901C#97901C
#97901C 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 | #97901C |
|---|---|
| RGB | rgb(151, 144, 28) |
| HSL | hsl(57, 69%, 35%) |
| HSV | hsv(57, 81%, 59%) |
| CMYK | cmyk(0%, 4.6%, 81.5%, 40.8%) |
| CIE-LAB | lab(58.61, -10.27, 56.90) |
| CIE-LCH | lch(58.61, 57.82, 100.23°) |
| OKLab | oklab(63.97% -0.0349 0.1232) |
| OKLCH | oklch(63.97% 0.128 105.8) |
| XYZ | xyz(22.9464, 26.6106, 5.0260) |
| Luminance | 0.2661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.46
Baby Poop Green
#8F9805
ΔE00 4.64
Baby Shit Green
#889717
ΔE00 5.86
Baby Poo
#AB9004
ΔE00 6.22
Vomit
#A2A415
ΔE00 6.53
Olive
#808000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97901C #1C2397
analogous
#97521C #97901C #61971C
triadic
#97901C #1C9790 #901C97
tetradic
#97901C #1C9752 #1C2397 #971C61
square
#97901C #1C9752 #1C2397 #971C61
split-complementary
#97901C #1C6197 #521C97
monochromatic
#302E09 #635F12 #97901C #CBC126 #DED64F
Accessibility & contrast
On white
3.32
#97901C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#97901C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #97901C
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97901C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97901C | 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)
#A08F26
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #97901c; /* rgb */ color: rgb(151, 144, 28); /* oklch */ color: oklch(64.0% 0.128 105.8);
Tailwind
colors: {
custom: {
50: '#b9b064',
500: '#97901c',
950: '#000000',
},
}SCSS
$custom: #97901c; $custom-light: #b9b064; $custom-dark: #000000;
JSON
{
"hex": "#97901c",
"rgb": {
"r": 151,
"g": 144,
"b": 28
},
"hsl": {
"h": 56.585,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.6397,
"c": 0.128,
"h": 105.8
},
"luminance": 0.2661
}Semantic roles & 50–950 ramp
primary
#97901C
secondary
#4E54C1
accent
#46EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A