#8B802C#8B802C
#8B802C is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.104 H 101.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8B802C |
|---|---|
| RGB | rgb(139, 128, 44) |
| HSL | hsl(53, 52%, 36%) |
| HSV | hsv(53, 68%, 55%) |
| CMYK | cmyk(0%, 7.9%, 68.3%, 45.5%) |
| CIE-LAB | lab(53.07, -6.28, 45.31) |
| CIE-LCH | lch(53.07, 45.74, 97.89°) |
| OKLab | oklab(59.33% -0.0213 0.1021) |
| OKLCH | oklch(59.33% 0.104 101.8) |
| XYZ | xyz(18.8220, 21.1099, 5.4656) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.83
Baby Poop
#937C00
ΔE00 5.20
Hazel
#8E7618
ΔE00 5.31
Drab
#828344
ΔE00 5.61
Ugly Brown
#7D7103
ΔE00 6.31
Puke Brown
#947706
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B802C #2C378B
analogous
#8B502C #8B802C #668B2C
triadic
#8B802C #2C8B80 #802C8B
tetradic
#8B802C #2C8B50 #2C378B #8B2C66
square
#8B802C #2C8B50 #2C378B #8B2C66
split-complementary
#8B802C #2C668B #502C8B
monochromatic
#2E2A0F #5D551D #8B802C #B9AB3B #CEC264
Accessibility & contrast
On white
4.02
#8B802C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#8B802C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B802C
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B802C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B802C | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C21
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#96776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8b802c; /* rgb */ color: rgb(139, 128, 44); /* oklch */ color: oklch(59.3% 0.104 101.8);
Tailwind
colors: {
custom: {
50: '#b0a46a',
500: '#8b802c',
950: '#000000',
},
}SCSS
$custom: #8b802c; $custom-light: #b0a46a; $custom-dark: #000000;
JSON
{
"hex": "#8b802c",
"rgb": {
"r": 139,
"g": 128,
"b": 44
},
"hsl": {
"h": 53.053,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.59328,
"c": 0.10428,
"h": 101.8
},
"luminance": 0.21109
}Semantic roles & 50–950 ramp
primary
#8B802C
secondary
#5F69B4
accent
#5DDB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A