#807F1B#807F1B
#807F1B is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.116 H 108.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #807F1B |
|---|---|
| RGB | rgb(128, 127, 27) |
| HSL | hsl(59, 65%, 30%) |
| HSV | hsv(59, 79%, 50%) |
| CMYK | cmyk(0%, 0.8%, 78.9%, 49.8%) |
| CIE-LAB | lab(51.66, -11.67, 50.24) |
| CIE-LCH | lch(51.66, 51.58, 103.07°) |
| OKLab | oklab(57.93% -0.0377 0.1097) |
| OKLCH | oklch(57.93% 0.116 108.9) |
| XYZ | xyz(16.6899, 19.8476, 3.9885) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.90
Shit Green
#758000
ΔE00 3.51
Poop Green
#6F7C00
ΔE00 4.48
Swamp Green
#748500
ΔE00 4.96
Olive (survey)
#6E750E
ΔE00 5.08
Murky Green
#6C7A0E
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#807F1B #1B1C80
analogous
#804C1B #807F1B #4E801B
triadic
#807F1B #1B807F #7F1B80
tetradic
#807F1B #1B804C #1B1C80 #801B4E
square
#807F1B #1B804C #1B1C80 #801B4E
split-complementary
#807F1B #1B4E80 #4C1B80
monochromatic
#1B1B06 #4D4D10 #807F1B #B3B126 #D6D53F
Accessibility & contrast
On white
4.23
#807F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#807F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #807F1B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##807F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##807F1B | 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)
#8A7902
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #807f1b; /* rgb */ color: rgb(128, 127, 27); /* oklch */ color: oklch(57.9% 0.116 108.9);
Tailwind
colors: {
custom: {
50: '#a8a361',
500: '#807f1b',
950: '#000000',
},
}SCSS
$custom: #807f1b; $custom-light: #a8a361; $custom-dark: #000000;
JSON
{
"hex": "#807f1b",
"rgb": {
"r": 128,
"g": 127,
"b": 27
},
"hsl": {
"h": 59.406,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.57931,
"c": 0.116,
"h": 108.9
},
"luminance": 0.19847
}Semantic roles & 50–950 ramp
primary
#807F1B
secondary
#4344B4
accent
#41E840
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A