#8C802F#8C802F
#8C802F is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.102 H 100.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8C802F |
|---|---|
| RGB | rgb(140, 128, 47) |
| HSL | hsl(52, 50%, 37%) |
| HSV | hsv(52, 66%, 55%) |
| CMYK | cmyk(0%, 8.6%, 66.4%, 45.1%) |
| CIE-LAB | lab(53.19, -5.63, 44.12) |
| CIE-LCH | lch(53.19, 44.48, 97.27°) |
| OKLab | oklab(59.45% -0.0192 0.1001) |
| OKLCH | oklch(59.45% 0.102 100.9) |
| XYZ | xyz(19.0483, 21.2198, 5.7813) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.21
Baby Poop
#937C00
ΔE00 5.26
Olive
#808000
ΔE00 5.37
Drab
#828344
ΔE00 5.55
Ugly Brown
#7D7103
ΔE00 6.55
Puke Brown
#947706
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C802F #2F3B8C
analogous
#8C522F #8C802F #6A8C2F
triadic
#8C802F #2F8C80 #802F8C
tetradic
#8C802F #2F8C52 #2F3B8C #8C2F6A
square
#8C802F #2F8C52 #2F3B8C #8C2F6A
split-complementary
#8C802F #2F6A8C #522F8C
monochromatic
#302C10 #5E5620 #8C802F #BAAA3E #CDC069
Accessibility & contrast
On white
4.00
#8C802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8C802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C802F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C802F | 1.00 | 4.00 | 5.24 | 5.24 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#97776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c802f; /* rgb */ color: rgb(140, 128, 47); /* oklch */ color: oklch(59.5% 0.102 100.9);
Tailwind
colors: {
custom: {
50: '#b0a46c',
500: '#8c802f',
950: '#000000',
},
}SCSS
$custom: #8c802f; $custom-light: #b0a46c; $custom-dark: #000000;
JSON
{
"hex": "#8c802f",
"rgb": {
"r": 140,
"g": 128,
"b": 47
},
"hsl": {
"h": 52.258,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.59454,
"c": 0.10187,
"h": 100.9
},
"luminance": 0.21219
}Semantic roles & 50–950 ramp
primary
#8C802F
secondary
#636EB4
accent
#60D94F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A