#8F7D20#8F7D20
#8F7D20 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.110 H 97.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7D20 |
|---|---|
| RGB | rgb(143, 125, 32) |
| HSL | hsl(50, 63%, 34%) |
| HSV | hsv(50, 78%, 56%) |
| CMYK | cmyk(0%, 12.6%, 77.6%, 43.9%) |
| CIE-LAB | lab(52.52, -3.40, 49.78) |
| CIE-LCH | lch(52.52, 49.90, 93.90°) |
| OKLab | oklab(58.96% -0.0147 0.1091) |
| OKLCH | oklch(58.96% 0.11 97.7) |
| XYZ | xyz(18.9230, 20.6121, 4.3480) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.71
Hazel
#8E7618
ΔE00 3.01
Puke Brown
#947706
ΔE00 4.05
Poo
#8F7303
ΔE00 4.66
Diarrhea
#9F8303
ΔE00 4.90
Yellowish Brown
#9B7A01
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7D20 #20328F
analogous
#8F4520 #8F7D20 #6A8F20
triadic
#8F7D20 #208F7D #7D208F
tetradic
#8F7D20 #208F45 #20328F #8F206A
square
#8F7D20 #208F45 #20328F #8F206A
split-complementary
#8F7D20 #206A8F #45208F
monochromatic
#2B260A #5D5115 #8F7D20 #C1A92B #D8C251
Accessibility & contrast
On white
4.10
#8F7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#8F7D20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7D20
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7D20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7D20 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8f7d20; /* rgb */ color: rgb(143, 125, 32); /* oklch */ color: oklch(59.0% 0.110 97.7);
Tailwind
colors: {
custom: {
50: '#b3a263',
500: '#8f7d20',
950: '#000000',
},
}SCSS
$custom: #8f7d20; $custom-light: #b3a263; $custom-dark: #000000;
JSON
{
"hex": "#8f7d20",
"rgb": {
"r": 143,
"g": 125,
"b": 32
},
"hsl": {
"h": 50.27,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.58958,
"c": 0.11009,
"h": 97.7
},
"luminance": 0.20611
}Semantic roles & 50–950 ramp
primary
#8F7D20
secondary
#4F61BB
accent
#5CE641
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A