#8A7D23#8A7D23
#8A7D23 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.108 H 100.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D23 |
|---|---|
| RGB | rgb(138, 125, 35) |
| HSL | hsl(52, 60%, 34%) |
| HSV | hsv(52, 75%, 54%) |
| CMYK | cmyk(0%, 9.4%, 74.6%, 45.9%) |
| CIE-LAB | lab(52.05, -5.57, 48.02) |
| CIE-LCH | lch(52.05, 48.34, 96.62°) |
| OKLab | oklab(58.48% -0.0203 0.1062) |
| OKLCH | oklch(58.48% 0.108 100.8) |
| XYZ | xyz(18.1191, 20.1927, 4.5330) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.11
Baby Poop
#937C00
ΔE00 4.12
Olive
#808000
ΔE00 4.67
Ugly Brown
#7D7103
ΔE00 5.04
Puke Brown
#947706
ΔE00 5.55
Poo
#8F7303
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D23 #23308A
analogous
#8A4A23 #8A7D23 #648A23
triadic
#8A7D23 #238A7D #7D238A
tetradic
#8A7D23 #238A4A #23308A #8A2364
square
#8A7D23 #238A4A #23308A #8A2364
split-complementary
#8A7D23 #23648A #4A238A
monochromatic
#28250A #595117 #8A7D23 #BBA92F #D4C354
Accessibility & contrast
On white
4.17
#8A7D23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A7D23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D23
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D23 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 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)
#897914
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#95746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d23; /* rgb */ color: rgb(138, 125, 35); /* oklch */ color: oklch(58.5% 0.108 100.8);
Tailwind
colors: {
custom: {
50: '#afa265',
500: '#8a7d23',
950: '#000000',
},
}SCSS
$custom: #8a7d23; $custom-light: #afa265; $custom-dark: #000000;
JSON
{
"hex": "#8a7d23",
"rgb": {
"r": 138,
"g": 125,
"b": 35
},
"hsl": {
"h": 52.427,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.58478,
"c": 0.1081,
"h": 100.8
},
"luminance": 0.20192
}Semantic roles & 50–950 ramp
primary
#8A7D23
secondary
#515EB7
accent
#59E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A