#8A7B30#8A7B30
#8A7B30 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.096 H 98.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B30 |
|---|---|
| RGB | rgb(138, 123, 48) |
| HSL | hsl(50, 48%, 36%) |
| HSV | hsv(50, 65%, 54%) |
| CMYK | cmyk(0%, 10.9%, 65.2%, 45.9%) |
| CIE-LAB | lab(51.59, -3.69, 41.89) |
| CIE-LCH | lch(51.59, 42.05, 95.03°) |
| OKLab | oklab(58.14% -0.0134 0.0955) |
| OKLCH | oklch(58.14% 0.096 98) |
| XYZ | xyz(18.0985, 19.7834, 5.6610) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.02
Baby Poop
#937C00
ΔE00 5.34
Ugly Brown
#7D7103
ΔE00 5.63
Puke Brown
#947706
ΔE00 5.82
Poo
#8F7303
ΔE00 5.90
Drab
#828344
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B30 #303F8A
analogous
#8A4E30 #8A7B30 #6C8A30
triadic
#8A7B30 #308A7B #7B308A
tetradic
#8A7B30 #308A4E #303F8A #8A306C
square
#8A7B30 #308A4E #303F8A #8A306C
split-complementary
#8A7B30 #306C8A #4E308A
monochromatic
#2F2A10 #5D5320 #8A7B30 #B7A340 #CBBB69
Accessibility & contrast
On white
4.24
#8A7B30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#8A7B30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B30
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B30 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877827
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#95726B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b30; /* rgb */ color: rgb(138, 123, 48); /* oklch */ color: oklch(58.1% 0.096 98.0);
Tailwind
colors: {
custom: {
50: '#afa06c',
500: '#8a7b30',
950: '#000000',
},
}SCSS
$custom: #8a7b30; $custom-light: #afa06c; $custom-dark: #000000;
JSON
{
"hex": "#8a7b30",
"rgb": {
"r": 138,
"g": 123,
"b": 48
},
"hsl": {
"h": 50,
"s": 48.387,
"l": 36.471
},
"oklch": {
"l": 0.58144,
"c": 0.09647,
"h": 98
},
"luminance": 0.19783
}Semantic roles & 50–950 ramp
primary
#8A7B30
secondary
#6471B2
accent
#67D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A