#8A7824#8A7824
#8A7824 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.103 H 96.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7824 |
|---|---|
| RGB | rgb(138, 120, 36) |
| HSL | hsl(49, 59%, 34%) |
| HSV | hsv(49, 74%, 54%) |
| CMYK | cmyk(0%, 13%, 73.9%, 45.9%) |
| CIE-LAB | lab(50.65, -2.73, 46.24) |
| CIE-LCH | lch(50.65, 46.32, 93.37°) |
| OKLab | oklab(57.36% -0.0121 0.1026) |
| OKLCH | oklch(57.36% 0.103 96.7) |
| XYZ | xyz(17.5170, 18.9645, 4.4066) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.26
Baby Poop
#937C00
ΔE00 4.07
Poo
#8F7303
ΔE00 4.09
Puke Brown
#947706
ΔE00 4.24
Ugly Brown
#7D7103
ΔE00 4.38
Yellowish Brown
#9B7A01
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7824 #24368A
analogous
#8A4524 #8A7824 #698A24
triadic
#8A7824 #248A78 #78248A
tetradic
#8A7824 #248A45 #24368A #8A2469
square
#8A7824 #248A45 #24368A #8A2469
split-complementary
#8A7824 #24698A #45248A
monochromatic
#29240B #594E17 #8A7824 #BBA231 #D3BD56
Accessibility & contrast
On white
4.38
#8A7824 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#8A7824 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7824
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7824 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7824 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857517
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#956F67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a7824; /* rgb */ color: rgb(138, 120, 36); /* oklch */ color: oklch(57.4% 0.103 96.7);
Tailwind
colors: {
custom: {
50: '#af9e65',
500: '#8a7824',
950: '#000000',
},
}SCSS
$custom: #8a7824; $custom-light: #af9e65; $custom-dark: #000000;
JSON
{
"hex": "#8a7824",
"rgb": {
"r": 138,
"g": 120,
"b": 36
},
"hsl": {
"h": 49.412,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.57364,
"c": 0.10332,
"h": 96.7
},
"luminance": 0.18964
}Semantic roles & 50–950 ramp
primary
#8A7824
secondary
#5364B7
accent
#61E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A