#8A7B27#8A7B27
#8A7B27 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.104 H 98.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B27 |
|---|---|
| RGB | rgb(138, 123, 39) |
| HSL | hsl(51, 56%, 35%) |
| HSV | hsv(51, 72%, 54%) |
| CMYK | cmyk(0%, 10.9%, 71.7%, 45.9%) |
| CIE-LAB | lab(51.52, -4.25, 45.85) |
| CIE-LCH | lch(51.52, 46.05, 95.29°) |
| OKLab | oklab(58.06% -0.0161 0.1024) |
| OKLCH | oklch(58.06% 0.104 98.9) |
| XYZ | xyz(17.9312, 19.7165, 4.7802) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.41
Baby Poop
#937C00
ΔE00 4.27
Ugly Brown
#7D7103
ΔE00 4.85
Puke Brown
#947706
ΔE00 5.12
Poo
#8F7303
ΔE00 5.25
Olive
#808000
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B27 #27368A
analogous
#8A4A27 #8A7B27 #688A27
triadic
#8A7B27 #278A7B #7B278A
tetradic
#8A7B27 #278A4A #27368A #8A2768
square
#8A7B27 #278A4A #27368A #8A2768
split-complementary
#8A7B27 #27688A #4A278A
monochromatic
#2B260C #5A501A #8A7B27 #BAA634 #D1BF5B
Accessibility & contrast
On white
4.25
#8A7B27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#8A7B27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B27
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B27 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b27; /* rgb */ color: rgb(138, 123, 39); /* oklch */ color: oklch(58.1% 0.104 98.9);
Tailwind
colors: {
custom: {
50: '#afa067',
500: '#8a7b27',
950: '#000000',
},
}SCSS
$custom: #8a7b27; $custom-light: #afa067; $custom-dark: #000000;
JSON
{
"hex": "#8a7b27",
"rgb": {
"r": 138,
"g": 123,
"b": 39
},
"hsl": {
"h": 50.909,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.5806,
"c": 0.10362,
"h": 98.9
},
"luminance": 0.19716
}Semantic roles & 50–950 ramp
primary
#8A7B27
secondary
#5765B6
accent
#5FDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A