#9D901C#9D901C
#9D901C is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.127 H 102.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9D901C |
|---|---|
| RGB | rgb(157, 144, 28) |
| HSL | hsl(54, 70%, 36%) |
| HSV | hsv(54, 82%, 62%) |
| CMYK | cmyk(0%, 8.3%, 82.2%, 38.4%) |
| CIE-LAB | lab(59.16, -7.54, 57.59) |
| CIE-LCH | lch(59.16, 58.08, 97.46°) |
| OKLab | oklab(64.54% -0.0275 0.1244) |
| OKLCH | oklch(64.54% 0.127 102.5) |
| XYZ | xyz(24.0886, 27.1996, 5.0796) |
| Luminance | 0.2720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.44
Baby Shit Brown
#AD900D
ΔE00 4.95
Brown Yellow
#B29705
ΔE00 5.43
Dark Mustard
#A88905
ΔE00 5.62
Pea Soup
#929901
ΔE00 5.81
Diarrhea
#9F8303
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D901C #1C299D
analogous
#9D4F1C #9D901C #6A9D1C
triadic
#9D901C #1C9D90 #901C9D
tetradic
#9D901C #1C9D4F #1C299D #9D1C6A
square
#9D901C #1C9D4F #1C299D #9D1C6A
split-complementary
#9D901C #1C6A9D #4F1C9D
monochromatic
#353109 #696013 #9D901C #D1C025 #E0D253
Accessibility & contrast
On white
3.26
#9D901C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#9D901C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D901C
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D901C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D901C | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#AA857B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9d901c; /* rgb */ color: rgb(157, 144, 28); /* oklch */ color: oklch(64.5% 0.127 102.5);
Tailwind
colors: {
custom: {
50: '#beb064',
500: '#9d901c',
950: '#000000',
},
}SCSS
$custom: #9d901c; $custom-light: #beb064; $custom-dark: #000000;
JSON
{
"hex": "#9d901c",
"rgb": {
"r": 157,
"g": 144,
"b": 28
},
"hsl": {
"h": 53.953,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.64535,
"c": 0.12736,
"h": 102.5
},
"luminance": 0.27198
}Semantic roles & 50–950 ramp
primary
#9D901C
secondary
#515DC3
accent
#4DED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A