#9B902A#9B902A
#9B902A is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.4% C 0.120 H 103.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9B902A |
|---|---|
| RGB | rgb(155, 144, 42) |
| HSL | hsl(54, 57%, 39%) |
| HSV | hsv(54, 73%, 61%) |
| CMYK | cmyk(0%, 7.1%, 72.9%, 39.2%) |
| CIE-LAB | lab(59.05, -7.86, 52.63) |
| CIE-LCH | lch(59.05, 53.21, 98.50°) |
| OKLab | oklab(64.43% -0.027 0.1166) |
| OKLCH | oklch(64.43% 0.12 103) |
| XYZ | xyz(23.9098, 27.0832, 6.1582) |
| Luminance | 0.2708 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.56
Pea Soup
#929901
ΔE00 5.84
Baby Shit Brown
#AD900D
ΔE00 5.95
Baby Poop Green
#8F9805
ΔE00 6.03
Dark Mustard
#A88905
ΔE00 6.49
Diarrhea
#9F8303
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B902A #2A359B
analogous
#9B572A #9B902A #6D9B2A
triadic
#9B902A #2A9B90 #902A9B
tetradic
#9B902A #2A9B57 #2A359B #9B2A6D
square
#9B902A #2A9B57 #2A359B #9B2A6D
split-complementary
#9B902A #2A6D9B #572A9B
monochromatic
#3B3710 #6B631D #9B902A #C9BB39 #D6CC69
Accessibility & contrast
On white
3.27
#9B902A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#9B902A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B902A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B902A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B902A | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A19031
Tritanopia (blue-blind)
#A7867C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9b902a; /* rgb */ color: rgb(155, 144, 42); /* oklch */ color: oklch(64.4% 0.120 103.0);
Tailwind
colors: {
custom: {
50: '#bcb06b',
500: '#9b902a',
950: '#000000',
},
}SCSS
$custom: #9b902a; $custom-light: #bcb06b; $custom-dark: #000000;
JSON
{
"hex": "#9b902a",
"rgb": {
"r": 155,
"g": 144,
"b": 42
},
"hsl": {
"h": 54.159,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.64431,
"c": 0.11972,
"h": 103
},
"luminance": 0.27082
}Semantic roles & 50–950 ramp
primary
#9B902A
secondary
#646DBD
accent
#56E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A