#8A7D26#8A7D26
#8A7D26 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.106 H 100.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D26 |
|---|---|
| RGB | rgb(138, 125, 38) |
| HSL | hsl(52, 57%, 35%) |
| HSV | hsv(52, 72%, 54%) |
| CMYK | cmyk(0%, 9.4%, 72.5%, 45.9%) |
| CIE-LAB | lab(52.08, -5.42, 46.83) |
| CIE-LCH | lch(52.08, 47.14, 96.60°) |
| OKLab | oklab(58.5% -0.0195 0.1042) |
| OKLCH | oklch(58.5% 0.106 100.6) |
| XYZ | xyz(18.1655, 20.2113, 4.7777) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.17
Baby Poop
#937C00
ΔE00 4.37
Olive
#808000
ΔE00 4.90
Ugly Brown
#7D7103
ΔE00 5.17
Puke Brown
#947706
ΔE00 5.67
Poo
#8F7303
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D26 #26338A
analogous
#8A4B26 #8A7D26 #658A26
triadic
#8A7D26 #268A7D #7D268A
tetradic
#8A7D26 #268A4B #26338A #8A2665
square
#8A7D26 #268A4B #26338A #8A2665
split-complementary
#8A7D26 #26658A #4B268A
monochromatic
#2A260C #5A5219 #8A7D26 #BAA833 #D1C259
Accessibility & contrast
On white
4.17
#8A7D26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A7D26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D26
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D26 | 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)
#897919
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#95746C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d26; /* rgb */ color: rgb(138, 125, 38); /* oklch */ color: oklch(58.5% 0.106 100.6);
Tailwind
colors: {
custom: {
50: '#afa266',
500: '#8a7d26',
950: '#000000',
},
}SCSS
$custom: #8a7d26; $custom-light: #afa266; $custom-dark: #000000;
JSON
{
"hex": "#8a7d26",
"rgb": {
"r": 138,
"g": 125,
"b": 38
},
"hsl": {
"h": 52.2,
"s": 56.818,
"l": 34.51
},
"oklch": {
"l": 0.58501,
"c": 0.10605,
"h": 100.6
},
"luminance": 0.2021
}Semantic roles & 50–950 ramp
primary
#8A7D26
secondary
#5662B6
accent
#5CE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A