#9D902C#9D902C
#9D902C is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.118 H 101.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9D902C |
|---|---|
| RGB | rgb(157, 144, 44) |
| HSL | hsl(53, 56%, 39%) |
| HSV | hsv(53, 72%, 62%) |
| CMYK | cmyk(0%, 8.3%, 72%, 38.4%) |
| CIE-LAB | lab(59.25, -6.86, 52.10) |
| CIE-LCH | lch(59.25, 52.55, 97.50°) |
| OKLab | oklab(64.64% -0.0241 0.1158) |
| OKLCH | oklch(64.64% 0.118 101.7) |
| XYZ | xyz(24.3336, 27.2975, 6.3696) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.13
Baby Shit Brown
#AD900D
ΔE00 5.46
Dark Mustard
#A88905
ΔE00 6.01
Brown Yellow
#B29705
ΔE00 6.12
Diarrhea
#9F8303
ΔE00 6.13
Pea Soup
#929901
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D902C #2C399D
analogous
#9D572C #9D902C #729D2C
triadic
#9D902C #2C9D90 #902C9D
tetradic
#9D902C #2C9D57 #2C399D #9D2C72
square
#9D902C #2C9D57 #2C399D #9D2C72
split-complementary
#9D902C #2C729D #572C9D
monochromatic
#3D3811 #6D641F #9D902C #C9B93D #D6CA6D
Accessibility & contrast
On white
3.25
#9D902C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#9D902C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D902C
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D902C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D902C | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C1C
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9d902c; /* rgb */ color: rgb(157, 144, 44); /* oklch */ color: oklch(64.6% 0.118 101.7);
Tailwind
colors: {
custom: {
50: '#bdb06c',
500: '#9d902c',
950: '#000000',
},
}SCSS
$custom: #9d902c; $custom-light: #bdb06c; $custom-dark: #000000;
JSON
{
"hex": "#9d902c",
"rgb": {
"r": 157,
"g": 144,
"b": 44
},
"hsl": {
"h": 53.097,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.64636,
"c": 0.11829,
"h": 101.7
},
"luminance": 0.27296
}Semantic roles & 50–950 ramp
primary
#9D902C
secondary
#6871BD
accent
#5AE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A