#8A7B26#8A7B26
#8A7B26 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.104 H 99.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B26 |
|---|---|
| RGB | rgb(138, 123, 38) |
| HSL | hsl(51, 57%, 35%) |
| HSV | hsv(51, 72%, 54%) |
| CMYK | cmyk(0%, 10.9%, 72.5%, 45.9%) |
| CIE-LAB | lab(51.51, -4.30, 46.26) |
| CIE-LCH | lch(51.51, 46.46, 95.31°) |
| OKLab | oklab(58.05% -0.0163 0.1031) |
| OKLCH | oklch(58.05% 0.104 99) |
| XYZ | xyz(17.9149, 19.7100, 4.6941) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.38
Baby Poop
#937C00
ΔE00 4.17
Ugly Brown
#7D7103
ΔE00 4.78
Puke Brown
#947706
ΔE00 5.07
Poo
#8F7303
ΔE00 5.20
Olive
#808000
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B26 #26358A
analogous
#8A4926 #8A7B26 #678A26
triadic
#8A7B26 #268A7B #7B268A
tetradic
#8A7B26 #268A49 #26358A #8A2667
square
#8A7B26 #268A49 #26358A #8A2667
split-complementary
#8A7B26 #26678A #49268A
monochromatic
#2A250C #5A5019 #8A7B26 #BAA633 #D1BF59
Accessibility & contrast
On white
4.25
#8A7B26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#8A7B26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B26
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B26 | 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)
#877819
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b26; /* rgb */ color: rgb(138, 123, 38); /* oklch */ color: oklch(58.1% 0.104 99.0);
Tailwind
colors: {
custom: {
50: '#afa066',
500: '#8a7b26',
950: '#000000',
},
}SCSS
$custom: #8a7b26; $custom-light: #afa066; $custom-dark: #000000;
JSON
{
"hex": "#8a7b26",
"rgb": {
"r": 138,
"g": 123,
"b": 38
},
"hsl": {
"h": 51,
"s": 56.818,
"l": 34.51
},
"oklch": {
"l": 0.58051,
"c": 0.10434,
"h": 99
},
"luminance": 0.19709
}Semantic roles & 50–950 ramp
primary
#8A7B26
secondary
#5664B6
accent
#5FE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A