#9A802B#9A802B
#9A802B is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.106 H 91.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9A802B |
|---|---|
| RGB | rgb(154, 128, 43) |
| HSL | hsl(46, 56%, 39%) |
| HSV | hsv(46, 72%, 60%) |
| CMYK | cmyk(0%, 16.9%, 72.1%, 39.6%) |
| CIE-LAB | lab(54.54, 0.53, 47.71) |
| CIE-LCH | lch(54.54, 47.72, 89.36°) |
| OKLab | oklab(60.83% -0.0029 0.1065) |
| OKLCH | oklch(60.83% 0.106 91.6) |
| XYZ | xyz(21.4828, 22.4840, 5.4934) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.84
Yellowish Brown
#9B7A01
ΔE00 3.87
Baby Poop
#937C00
ΔE00 3.91
Puke Brown
#947706
ΔE00 4.08
Hazel
#8E7618
ΔE00 4.18
Poo
#8F7303
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A802B #2B459A
analogous
#9A482B #9A802B #7C9A2B
triadic
#9A802B #2B9A80 #802B9A
tetradic
#9A802B #2B9A48 #2B459A #9A2B7C
square
#9A802B #2B9A48 #2B459A #9A2B7C
split-complementary
#9A802B #2B7C9A #482B9A
monochromatic
#3A3010 #6A581E #9A802B #C8A73A #D5BC6A
Accessibility & contrast
On white
3.82
#9A802B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#9A802B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A802B
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A802B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A802B | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#A7756F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9a802b; /* rgb */ color: rgb(154, 128, 43); /* oklch */ color: oklch(60.8% 0.106 91.6);
Tailwind
colors: {
custom: {
50: '#bba46a',
500: '#9a802b',
950: '#000000',
},
}SCSS
$custom: #9a802b; $custom-light: #bba46a; $custom-dark: #000000;
JSON
{
"hex": "#9a802b",
"rgb": {
"r": 154,
"g": 128,
"b": 43
},
"hsl": {
"h": 45.946,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.60834,
"c": 0.10649,
"h": 91.6
},
"luminance": 0.22483
}Semantic roles & 50–950 ramp
primary
#9A802B
secondary
#6579BC
accent
#6CE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A