#9C902A#9C902A
#9C902A is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.120 H 102.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9C902A |
|---|---|
| RGB | rgb(156, 144, 42) |
| HSL | hsl(54, 58%, 39%) |
| HSV | hsv(54, 73%, 61%) |
| CMYK | cmyk(0%, 7.7%, 73.1%, 38.8%) |
| CIE-LAB | lab(59.14, -7.41, 52.75) |
| CIE-LCH | lch(59.14, 53.27, 98.00°) |
| OKLab | oklab(64.53% -0.0258 0.1168) |
| OKLCH | oklch(64.53% 0.12 102.5) |
| XYZ | xyz(24.1025, 27.1826, 6.1672) |
| Luminance | 0.2718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.28
Baby Shit Brown
#AD900D
ΔE00 5.65
Pea Soup
#929901
ΔE00 6.05
Dark Mustard
#A88905
ΔE00 6.21
Brown Yellow
#B29705
ΔE00 6.25
Diarrhea
#9F8303
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C902A #2A369C
analogous
#9C572A #9C902A #6F9C2A
triadic
#9C902A #2A9C90 #902A9C
tetradic
#9C902A #2A9C57 #2A369C #9C2A6F
square
#9C902A #2A9C57 #2A369C #9C2A6F
split-complementary
#9C902A #2A6F9C #572A9C
monochromatic
#3C3710 #6C631D #9C902A #CABB39 #D7CB6A
Accessibility & contrast
On white
3.26
#9C902A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#9C902A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C902A
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C902A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C902A | 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)
#9D8B19
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#A8867C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c902a; /* rgb */ color: rgb(156, 144, 42); /* oklch */ color: oklch(64.5% 0.120 102.5);
Tailwind
colors: {
custom: {
50: '#bdb06b',
500: '#9c902a',
950: '#000000',
},
}SCSS
$custom: #9c902a; $custom-light: #bdb06b; $custom-dark: #000000;
JSON
{
"hex": "#9c902a",
"rgb": {
"r": 156,
"g": 144,
"b": 42
},
"hsl": {
"h": 53.684,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.64525,
"c": 0.11965,
"h": 102.5
},
"luminance": 0.27182
}Semantic roles & 50–950 ramp
primary
#9C902A
secondary
#656EBD
accent
#57E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A