#8A7D1C#8A7D1C
#8A7D1C is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.112 H 101.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D1C |
|---|---|
| RGB | rgb(138, 125, 28) |
| HSL | hsl(53, 66%, 33%) |
| HSV | hsv(53, 80%, 54%) |
| CMYK | cmyk(0%, 9.4%, 79.7%, 45.9%) |
| CIE-LAB | lab(52.01, -5.89, 50.56) |
| CIE-LCH | lch(52.01, 50.90, 96.64°) |
| OKLab | oklab(58.43% -0.0219 0.1102) |
| OKLCH | oklch(58.43% 0.112 101.2) |
| XYZ | xyz(18.0253, 20.1552, 4.0393) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.68
Hazel
#8E7618
ΔE00 4.11
Olive
#808000
ΔE00 4.27
Ugly Brown
#7D7103
ΔE00 4.84
Puke Brown
#947706
ΔE00 5.36
Poo
#8F7303
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D1C #1C298A
analogous
#8A461C #8A7D1C #608A1C
triadic
#8A7D1C #1C8A7D #7D1C8A
tetradic
#8A7D1C #1C8A46 #1C298A #8A1C60
square
#8A7D1C #1C8A46 #1C298A #8A1C60
split-complementary
#8A7D1C #1C608A #461C8A
monochromatic
#242107 #574F12 #8A7D1C #BDAB26 #DAC847
Accessibility & contrast
On white
4.17
#8A7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8A7D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D1C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D1C | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7904
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#95736B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d1c; /* rgb */ color: rgb(138, 125, 28); /* oklch */ color: oklch(58.4% 0.112 101.2);
Tailwind
colors: {
custom: {
50: '#b0a261',
500: '#8a7d1c',
950: '#000000',
},
}SCSS
$custom: #8a7d1c; $custom-light: #b0a261; $custom-dark: #000000;
JSON
{
"hex": "#8a7d1c",
"rgb": {
"r": 138,
"g": 125,
"b": 28
},
"hsl": {
"h": 52.909,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.58431,
"c": 0.11232,
"h": 101.2
},
"luminance": 0.20154
}Semantic roles & 50–950 ramp
primary
#8A7D1C
secondary
#4654BB
accent
#53E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A