#8A7C2A#8A7C2A
#8A7C2A is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.102 H 99.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7C2A |
|---|---|
| RGB | rgb(138, 124, 42) |
| HSL | hsl(51, 53%, 35%) |
| HSV | hsv(51, 70%, 54%) |
| CMYK | cmyk(0%, 10.1%, 69.6%, 45.9%) |
| CIE-LAB | lab(51.82, -4.63, 44.87) |
| CIE-LCH | lch(51.82, 45.11, 95.90°) |
| OKLab | oklab(58.31% -0.0168 0.1008) |
| OKLCH | oklch(58.31% 0.102 99.5) |
| XYZ | xyz(18.1076, 19.9866, 5.0940) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.92
Baby Poop
#937C00
ΔE00 4.64
Ugly Brown
#7D7103
ΔE00 5.22
Puke Brown
#947706
ΔE00 5.59
Olive
#808000
ΔE00 5.61
Poo
#8F7303
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7C2A #2A388A
analogous
#8A4C2A #8A7C2A #688A2A
triadic
#8A7C2A #2A8A7C #7C2A8A
tetradic
#8A7C2A #2A8A4C #2A388A #8A2A68
square
#8A7C2A #2A8A4C #2A388A #8A2A68
split-complementary
#8A7C2A #2A688A #4C2A8A
monochromatic
#2C280D #5B521C #8A7C2A #B9A638 #CFBE60
Accessibility & contrast
On white
4.20
#8A7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8A7C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7C2A
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7C2A | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#95736B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7c2a; /* rgb */ color: rgb(138, 124, 42); /* oklch */ color: oklch(58.3% 0.102 99.5);
Tailwind
colors: {
custom: {
50: '#afa168',
500: '#8a7c2a',
950: '#000000',
},
}SCSS
$custom: #8a7c2a; $custom-light: #afa168; $custom-dark: #000000;
JSON
{
"hex": "#8a7c2a",
"rgb": {
"r": 138,
"g": 124,
"b": 42
},
"hsl": {
"h": 51.25,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.5831,
"c": 0.10223,
"h": 99.5
},
"luminance": 0.19986
}Semantic roles & 50–950 ramp
primary
#8A7C2A
secondary
#5B68B4
accent
#60DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A