#8A7D25#8A7D25
#8A7D25 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.107 H 100.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D25 |
|---|---|
| RGB | rgb(138, 125, 37) |
| HSL | hsl(52, 58%, 34%) |
| HSV | hsv(52, 73%, 54%) |
| CMYK | cmyk(0%, 9.4%, 73.2%, 45.9%) |
| CIE-LAB | lab(52.07, -5.47, 47.23) |
| CIE-LCH | lch(52.07, 47.55, 96.61°) |
| OKLab | oklab(58.49% -0.0198 0.1049) |
| OKLCH | oklch(58.49% 0.107 100.7) |
| XYZ | xyz(18.1496, 20.2049, 4.6938) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.14
Baby Poop
#937C00
ΔE00 4.28
Olive
#808000
ΔE00 4.82
Ugly Brown
#7D7103
ΔE00 5.12
Puke Brown
#947706
ΔE00 5.63
Poo
#8F7303
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D25 #25328A
analogous
#8A4B25 #8A7D25 #658A25
triadic
#8A7D25 #258A7D #7D258A
tetradic
#8A7D25 #258A4B #25328A #8A2565
square
#8A7D25 #258A4B #25328A #8A2565
split-complementary
#8A7D25 #25658A #4B258A
monochromatic
#29260B #5A5118 #8A7D25 #BAA932 #D2C257
Accessibility & contrast
On white
4.17
#8A7D25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A7D25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D25
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D25 | 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)
#897917
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#95746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d25; /* rgb */ color: rgb(138, 125, 37); /* oklch */ color: oklch(58.5% 0.107 100.7);
Tailwind
colors: {
custom: {
50: '#afa266',
500: '#8a7d25',
950: '#000000',
},
}SCSS
$custom: #8a7d25; $custom-light: #afa266; $custom-dark: #000000;
JSON
{
"hex": "#8a7d25",
"rgb": {
"r": 138,
"g": 125,
"b": 37
},
"hsl": {
"h": 52.277,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.58493,
"c": 0.10675,
"h": 100.7
},
"luminance": 0.20204
}Semantic roles & 50–950 ramp
primary
#8A7D25
secondary
#5461B7
accent
#5BE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A