#8F802A#8F802A
#8F802A is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.106 H 99.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F802A |
|---|---|
| RGB | rgb(143, 128, 42) |
| HSL | hsl(51, 55%, 36%) |
| HSV | hsv(51, 71%, 56%) |
| CMYK | cmyk(0%, 10.5%, 70.6%, 43.9%) |
| CIE-LAB | lab(53.43, -4.56, 46.67) |
| CIE-LCH | lch(53.43, 46.89, 95.58°) |
| OKLab | oklab(59.7% -0.0169 0.1045) |
| OKLCH | oklch(59.7% 0.106 99.2) |
| XYZ | xyz(19.4657, 21.4461, 5.3042) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.12
Hazel
#8E7618
ΔE00 4.44
Puke Brown
#947706
ΔE00 5.55
Diarrhea
#9F8303
ΔE00 5.62
Olive
#808000
ΔE00 5.62
Poo
#8F7303
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F802A #2A398F
analogous
#8F4E2A #8F802A #6C8F2A
triadic
#8F802A #2A8F80 #802A8F
tetradic
#8F802A #2A8F4E #2A398F #8F2A6C
square
#8F802A #2A8F4E #2A398F #8F2A6C
split-complementary
#8F802A #2A6C8F #4E2A8F
monochromatic
#302B0E #60561C #8F802A #BEAA38 #D1C162
Accessibility & contrast
On white
3.97
#8F802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#8F802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F802A
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F802A | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D1E
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#9A766F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8f802a; /* rgb */ color: rgb(143, 128, 42); /* oklch */ color: oklch(59.7% 0.106 99.2);
Tailwind
colors: {
custom: {
50: '#b3a469',
500: '#8f802a',
950: '#000000',
},
}SCSS
$custom: #8f802a; $custom-light: #b3a469; $custom-dark: #000000;
JSON
{
"hex": "#8f802a",
"rgb": {
"r": 143,
"g": 128,
"b": 42
},
"hsl": {
"h": 51.089,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.59703,
"c": 0.10583,
"h": 99.2
},
"luminance": 0.21445
}Semantic roles & 50–950 ramp
primary
#8F802A
secondary
#5E6BB7
accent
#60DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A