#807A1B#807A1B
#807A1B is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.111 H 105.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #807A1B |
|---|---|
| RGB | rgb(128, 122, 27) |
| HSL | hsl(56, 65%, 30%) |
| HSV | hsv(56, 79%, 50%) |
| CMYK | cmyk(0%, 4.7%, 78.9%, 49.8%) |
| CIE-LAB | lab(50.20, -8.93, 48.90) |
| CIE-LCH | lch(50.20, 49.71, 100.35°) |
| OKLab | oklab(56.77% -0.03 0.1069) |
| OKLCH | oklch(56.77% 0.111 105.7) |
| XYZ | xyz(16.0601, 18.5880, 3.7786) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.31
Ugly Brown
#7D7103
ΔE00 3.83
Olive (survey)
#6E750E
ΔE00 4.86
Shit Green
#758000
ΔE00 5.12
Poop Green
#6F7C00
ΔE00 5.50
Brown Green
#706C11
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#807A1B #1B2180
analogous
#80481B #807A1B #53801B
triadic
#807A1B #1B807A #7A1B80
tetradic
#807A1B #1B8048 #1B2180 #801B53
square
#807A1B #1B8048 #1B2180 #801B53
split-complementary
#807A1B #1B5380 #481B80
monochromatic
#1B1A06 #4D4A10 #807A1B #B3AA26 #D6CD3F
Accessibility & contrast
On white
4.45
#807A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#807A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #807A1B
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##807A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##807A1B | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#8A7168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #807a1b; /* rgb */ color: rgb(128, 122, 27); /* oklch */ color: oklch(56.8% 0.111 105.7);
Tailwind
colors: {
custom: {
50: '#a8a060',
500: '#807a1b',
950: '#000000',
},
}SCSS
$custom: #807a1b; $custom-light: #a8a060; $custom-dark: #000000;
JSON
{
"hex": "#807a1b",
"rgb": {
"r": 128,
"g": 122,
"b": 27
},
"hsl": {
"h": 56.436,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.56765,
"c": 0.111,
"h": 105.7
},
"luminance": 0.18587
}Semantic roles & 50–950 ramp
primary
#807A1B
secondary
#434AB4
accent
#4AE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79