#9C802A#9C802A
#9C802A is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.108 H 90.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9C802A |
|---|---|
| RGB | rgb(156, 128, 42) |
| HSL | hsl(45, 58%, 39%) |
| HSV | hsv(45, 73%, 61%) |
| CMYK | cmyk(0%, 17.9%, 73.1%, 38.8%) |
| CIE-LAB | lab(54.74, 1.39, 48.41) |
| CIE-LCH | lch(54.74, 48.43, 88.35°) |
| OKLab | oklab(61.04% -0.0007 0.1077) |
| OKLCH | oklch(61.04% 0.108 90.4) |
| XYZ | xyz(21.8486, 22.6748, 5.4159) |
| Luminance | 0.2267 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.58
Diarrhea
#9F8303
ΔE00 3.71
Puke Brown
#947706
ΔE00 4.06
Baby Poop
#937C00
ΔE00 4.13
Hazel
#8E7618
ΔE00 4.44
Dark Mustard
#A88905
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C802A #2A469C
analogous
#9C472A #9C802A #7F9C2A
triadic
#9C802A #2A9C80 #802A9C
tetradic
#9C802A #2A9C47 #2A469C #9C2A7F
square
#9C802A #2A9C47 #2A469C #9C2A7F
split-complementary
#9C802A #2A7F9C #472A9C
monochromatic
#3C3110 #6C581D #9C802A #CAA639 #D7BC6A
Accessibility & contrast
On white
3.79
#9C802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#9C802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C802A
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C802A | 1.00 | 3.79 | 5.53 | 5.53 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1E
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#A9756F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9c802a; /* rgb */ color: rgb(156, 128, 42); /* oklch */ color: oklch(61.0% 0.108 90.4);
Tailwind
colors: {
custom: {
50: '#bda469',
500: '#9c802a',
950: '#000000',
},
}SCSS
$custom: #9c802a; $custom-light: #bda469; $custom-dark: #000000;
JSON
{
"hex": "#9c802a",
"rgb": {
"r": 156,
"g": 128,
"b": 42
},
"hsl": {
"h": 45.263,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.61036,
"c": 0.10765,
"h": 90.4
},
"luminance": 0.22673
}Semantic roles & 50–950 ramp
primary
#9C802A
secondary
#657ABD
accent
#6DE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A