#807F1A#807F1A
#807F1A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.117 H 109.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #807F1A |
|---|---|
| RGB | rgb(128, 127, 26) |
| HSL | hsl(59, 66%, 30%) |
| HSV | hsv(59, 80%, 50%) |
| CMYK | cmyk(0%, 0.8%, 79.7%, 49.8%) |
| CIE-LAB | lab(51.66, -11.71, 50.57) |
| CIE-LCH | lch(51.66, 51.90, 103.04°) |
| OKLab | oklab(57.93% -0.0378 0.1102) |
| OKLCH | oklch(57.93% 0.117 109) |
| XYZ | xyz(16.6786, 19.8431, 3.9286) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.81
Shit Green
#758000
ΔE00 3.48
Poop Green
#6F7C00
ΔE00 4.47
Swamp Green
#748500
ΔE00 4.93
Olive (survey)
#6E750E
ΔE00 5.08
Murky Green
#6C7A0E
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#807F1A #1A1B80
analogous
#804C1A #807F1A #4E801A
triadic
#807F1A #1A807F #7F1A80
tetradic
#807F1A #1A804C #1A1B80 #801A4E
square
#807F1A #1A804C #1A1B80 #801A4E
split-complementary
#807F1A #1A4E80 #4C1A80
monochromatic
#1A1A05 #4D4D10 #807F1A #B3B124 #D8D63D
Accessibility & contrast
On white
4.23
#807F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#807F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #807F1A
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##807F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##807F1A | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #807f1a; /* rgb */ color: rgb(128, 127, 26); /* oklch */ color: oklch(57.9% 0.117 109.0);
Tailwind
colors: {
custom: {
50: '#a8a360',
500: '#807f1a',
950: '#000000',
},
}SCSS
$custom: #807f1a; $custom-light: #a8a360; $custom-dark: #000000;
JSON
{
"hex": "#807f1a",
"rgb": {
"r": 128,
"g": 127,
"b": 26
},
"hsl": {
"h": 59.412,
"s": 66.234,
"l": 30.196
},
"oklch": {
"l": 0.57926,
"c": 0.11654,
"h": 109
},
"luminance": 0.19843
}Semantic roles & 50–950 ramp
primary
#807F1A
secondary
#4243B4
accent
#40E93F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79