#807C2A#807C2A
#807C2A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.103 H 106.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #807C2A |
|---|---|
| RGB | rgb(128, 124, 42) |
| HSL | hsl(57, 51%, 33%) |
| HSV | hsv(57, 67%, 50%) |
| CMYK | cmyk(0%, 3.1%, 67.2%, 49.8%) |
| CIE-LAB | lab(50.89, -9.23, 43.61) |
| CIE-LCH | lch(50.89, 44.57, 101.95°) |
| OKLab | oklab(57.34% -0.0292 0.0985) |
| OKLCH | oklch(57.34% 0.103 106.5) |
| XYZ | xyz(16.5282, 19.1722, 5.0200) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.24
Drab
#828344
ΔE00 4.69
Olive (survey)
#6E750E
ΔE00 5.17
Shit Green
#758000
ΔE00 5.33
Ugly Brown
#7D7103
ΔE00 5.42
Olive Drab
#6F7632
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#807C2A #2A2E80
analogous
#80512A #807C2A #59802A
triadic
#807C2A #2A807C #7C2A80
tetradic
#807C2A #2A8051 #2A2E80 #802A59
square
#807C2A #2A8051 #2A2E80 #802A59
split-complementary
#807C2A #2A5980 #512A80
monochromatic
#24230C #524F1B #807C2A #AEA939 #C9C45B
Accessibility & contrast
On white
4.34
#807C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#807C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #807C2A
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##807C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##807C2A | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#89746B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #807c2a; /* rgb */ color: rgb(128, 124, 42); /* oklch */ color: oklch(57.3% 0.103 106.5);
Tailwind
colors: {
custom: {
50: '#a7a168',
500: '#807c2a',
950: '#000000',
},
}SCSS
$custom: #807c2a; $custom-light: #a7a168; $custom-dark: #000000;
JSON
{
"hex": "#807c2a",
"rgb": {
"r": 128,
"g": 124,
"b": 42
},
"hsl": {
"h": 57.209,
"s": 50.588,
"l": 33.333
},
"oklch": {
"l": 0.57344,
"c": 0.10275,
"h": 106.5
},
"luminance": 0.19172
}Semantic roles & 50–950 ramp
primary
#807C2A
secondary
#575BAF
accent
#54DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A