#8A721F#8A721F
#8A721F is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 56.0% C 0.102 H 92.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A721F |
|---|---|
| RGB | rgb(138, 114, 31) |
| HSL | hsl(47, 63%, 33%) |
| HSV | hsv(47, 78%, 54%) |
| CMYK | cmyk(0%, 17.4%, 77.5%, 45.9%) |
| CIE-LAB | lab(48.93, 0.43, 46.60) |
| CIE-LCH | lch(48.93, 46.60, 89.47°) |
| OKLab | oklab(56% -0.0037 0.1023) |
| OKLCH | oklch(56% 0.102 92) |
| XYZ | xyz(16.7468, 17.5378, 3.7991) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.01
Poo
#8F7303
ΔE00 2.75
Puke Brown
#947706
ΔE00 3.74
Muddy Brown
#886806
ΔE00 4.31
Ugly Brown
#7D7103
ΔE00 4.88
Baby Poop
#937C00
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A721F #1F378A
analogous
#8A3C1F #8A721F #6C8A1F
triadic
#8A721F #1F8A72 #721F8A
tetradic
#8A721F #1F8A3C #1F378A #8A1F6C
square
#8A721F #1F8A3C #1F378A #8A1F6C
split-complementary
#8A721F #1F6C8A #3C1F8A
monochromatic
#261F09 #584914 #8A721F #BC9B2A #D7B84C
Accessibility & contrast
On white
4.66
#8A721F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#8A721F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A721F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A721F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A721F | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a721f; /* rgb */ color: rgb(138, 114, 31); /* oklch */ color: oklch(56.0% 0.102 92.0);
Tailwind
colors: {
custom: {
50: '#b09a61',
500: '#8a721f',
950: '#000000',
},
}SCSS
$custom: #8a721f; $custom-light: #b09a61; $custom-dark: #000000;
JSON
{
"hex": "#8a721f",
"rgb": {
"r": 138,
"g": 114,
"b": 31
},
"hsl": {
"h": 46.542,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55997,
"c": 0.1024,
"h": 92
},
"luminance": 0.17537
}Semantic roles & 50–950 ramp
primary
#8A721F
secondary
#4B64BA
accent
#66E641
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79