#8A7D27#8A7D27
#8A7D27 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.105 H 100.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D27 |
|---|---|
| RGB | rgb(138, 125, 39) |
| HSL | hsl(52, 56%, 35%) |
| HSV | hsv(52, 72%, 54%) |
| CMYK | cmyk(0%, 9.4%, 71.7%, 45.9%) |
| CIE-LAB | lab(52.08, -5.36, 46.42) |
| CIE-LCH | lch(52.08, 46.73, 96.59°) |
| OKLab | oklab(58.51% -0.0192 0.1036) |
| OKLCH | oklch(58.51% 0.105 100.5) |
| XYZ | xyz(18.1819, 20.2178, 4.8638) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.19
Baby Poop
#937C00
ΔE00 4.45
Olive
#808000
ΔE00 4.99
Ugly Brown
#7D7103
ΔE00 5.23
Puke Brown
#947706
ΔE00 5.72
Poo
#8F7303
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D27 #27348A
analogous
#8A4B27 #8A7D27 #668A27
triadic
#8A7D27 #278A7D #7D278A
tetradic
#8A7D27 #278A4B #27348A #8A2766
square
#8A7D27 #278A4B #27348A #8A2766
split-complementary
#8A7D27 #27668A #4B278A
monochromatic
#2B270C #5A521A #8A7D27 #BAA834 #D1C15B
Accessibility & contrast
On white
4.16
#8A7D27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A7D27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D27
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D27 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89791A
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#95746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d27; /* rgb */ color: rgb(138, 125, 39); /* oklch */ color: oklch(58.5% 0.105 100.5);
Tailwind
colors: {
custom: {
50: '#afa267',
500: '#8a7d27',
950: '#000000',
},
}SCSS
$custom: #8a7d27; $custom-light: #afa267; $custom-dark: #000000;
JSON
{
"hex": "#8a7d27",
"rgb": {
"r": 138,
"g": 125,
"b": 39
},
"hsl": {
"h": 52.121,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.5851,
"c": 0.10534,
"h": 100.5
},
"luminance": 0.20217
}Semantic roles & 50–950 ramp
primary
#8A7D27
secondary
#5764B6
accent
#5CDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A