#8D802F#8D802F
#8D802F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.102 H 100.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8D802F |
|---|---|
| RGB | rgb(141, 128, 47) |
| HSL | hsl(52, 50%, 37%) |
| HSV | hsv(52, 67%, 55%) |
| CMYK | cmyk(0%, 9.2%, 66.7%, 44.7%) |
| CIE-LAB | lab(53.28, -5.17, 44.25) |
| CIE-LCH | lch(53.28, 44.55, 96.67°) |
| OKLab | oklab(59.55% -0.0179 0.1003) |
| OKLCH | oklch(59.55% 0.102 100.1) |
| XYZ | xyz(19.2176, 21.3071, 5.7892) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.00
Baby Poop
#937C00
ΔE00 5.04
Olive
#808000
ΔE00 5.60
Drab
#828344
ΔE00 5.81
Puke Brown
#947706
ΔE00 6.33
Diarrhea
#9F8303
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D802F #2F3C8D
analogous
#8D512F #8D802F #6B8D2F
triadic
#8D802F #2F8D80 #802F8D
tetradic
#8D802F #2F8D51 #2F3C8D #8D2F6B
square
#8D802F #2F8D51 #2F3C8D #8D2F6B
split-complementary
#8D802F #2F6B8D #512F8D
monochromatic
#312D10 #5F5620 #8D802F #BBAA3E #CDBF69
Accessibility & contrast
On white
3.99
#8D802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#8D802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D802F
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D802F | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8d802f; /* rgb */ color: rgb(141, 128, 47); /* oklch */ color: oklch(59.6% 0.102 100.1);
Tailwind
colors: {
custom: {
50: '#b1a46c',
500: '#8d802f',
950: '#000000',
},
}SCSS
$custom: #8d802f; $custom-light: #b1a46c; $custom-dark: #000000;
JSON
{
"hex": "#8d802f",
"rgb": {
"r": 141,
"g": 128,
"b": 47
},
"hsl": {
"h": 51.702,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.59552,
"c": 0.10188,
"h": 100.1
},
"luminance": 0.21306
}Semantic roles & 50–950 ramp
primary
#8D802F
secondary
#646FB4
accent
#62DA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A