#9D902B#9D902B
#9D902B is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.119 H 101.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9D902B |
|---|---|
| RGB | rgb(157, 144, 43) |
| HSL | hsl(53, 57%, 39%) |
| HSV | hsv(53, 73%, 62%) |
| CMYK | cmyk(0%, 8.3%, 72.6%, 38.4%) |
| CIE-LAB | lab(59.24, -6.91, 52.49) |
| CIE-LCH | lch(59.24, 52.94, 97.50°) |
| OKLab | oklab(64.63% -0.0243 0.1164) |
| OKLCH | oklch(64.63% 0.119 101.8) |
| XYZ | xyz(24.3150, 27.2901, 6.2718) |
| Luminance | 0.2729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.07
Baby Shit Brown
#AD900D
ΔE00 5.41
Dark Mustard
#A88905
ΔE00 5.97
Brown Yellow
#B29705
ΔE00 6.06
Diarrhea
#9F8303
ΔE00 6.10
Pea Soup
#929901
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D902B #2B389D
analogous
#9D572B #9D902B #719D2B
triadic
#9D902B #2B9D90 #902B9D
tetradic
#9D902B #2B9D57 #2B389D #9D2B71
square
#9D902B #2B9D57 #2B389D #9D2B71
split-complementary
#9D902B #2B719D #572B9D
monochromatic
#3D3811 #6D641E #9D902B #CAB93C #D7CA6C
Accessibility & contrast
On white
3.25
#9D902B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#9D902B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D902B
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D902B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D902B | 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)
#9E8C1B
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9d902b; /* rgb */ color: rgb(157, 144, 43); /* oklch */ color: oklch(64.6% 0.119 101.8);
Tailwind
colors: {
custom: {
50: '#bdb06b',
500: '#9d902b',
950: '#000000',
},
}SCSS
$custom: #9d902b; $custom-light: #bdb06b; $custom-dark: #000000;
JSON
{
"hex": "#9d902b",
"rgb": {
"r": 157,
"g": 144,
"b": 43
},
"hsl": {
"h": 53.158,
"s": 57,
"l": 39.216
},
"oklch": {
"l": 0.64628,
"c": 0.11895,
"h": 101.8
},
"luminance": 0.27289
}Semantic roles & 50–950 ramp
primary
#9D902B
secondary
#6670BD
accent
#59E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A