#8D802C#8D802C
#8D802C is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.104 H 100.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8D802C |
|---|---|
| RGB | rgb(141, 128, 44) |
| HSL | hsl(52, 52%, 36%) |
| HSV | hsv(52, 69%, 55%) |
| CMYK | cmyk(0%, 9.2%, 68.8%, 44.7%) |
| CIE-LAB | lab(53.26, -5.36, 45.56) |
| CIE-LCH | lch(53.26, 45.88, 96.71°) |
| OKLab | oklab(59.52% -0.0188 0.1026) |
| OKLCH | oklch(59.52% 0.104 100.4) |
| XYZ | xyz(19.1591, 21.2838, 5.4814) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.73
Hazel
#8E7618
ΔE00 4.88
Olive
#808000
ΔE00 5.29
Drab
#828344
ΔE00 6.08
Puke Brown
#947706
ΔE00 6.15
Diarrhea
#9F8303
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D802C #2C398D
analogous
#8D502C #8D802C #6A8D2C
triadic
#8D802C #2C8D80 #802C8D
tetradic
#8D802C #2C8D50 #2C398D #8D2C6A
square
#8D802C #2C8D50 #2C398D #8D2C6A
split-complementary
#8D802C #2C6A8D #502C8D
monochromatic
#302B0F #5E561D #8D802C #BCAA3B #CFC165
Accessibility & contrast
On white
3.99
#8D802C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#8D802C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D802C
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D802C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D802C | 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)
#8C7C21
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8d802c; /* rgb */ color: rgb(141, 128, 44); /* oklch */ color: oklch(59.5% 0.104 100.4);
Tailwind
colors: {
custom: {
50: '#b1a46a',
500: '#8d802c',
950: '#000000',
},
}SCSS
$custom: #8d802c; $custom-light: #b1a46a; $custom-dark: #000000;
JSON
{
"hex": "#8d802c",
"rgb": {
"r": 141,
"g": 128,
"b": 44
},
"hsl": {
"h": 51.959,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.59523,
"c": 0.10428,
"h": 100.4
},
"luminance": 0.21283
}Semantic roles & 50–950 ramp
primary
#8D802C
secondary
#606BB5
accent
#5FDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A