#7E7819#7E7819
#7E7819 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.110 H 105.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7819 |
|---|---|
| RGB | rgb(126, 120, 25) |
| HSL | hsl(56, 67%, 30%) |
| HSV | hsv(56, 80%, 49%) |
| CMYK | cmyk(0%, 4.8%, 80.2%, 50.6%) |
| CIE-LAB | lab(49.42, -8.84, 48.81) |
| CIE-LCH | lch(49.42, 49.60, 100.27°) |
| OKLab | oklab(56.1% -0.0298 0.1064) |
| OKLCH | oklch(56.1% 0.11 105.7) |
| XYZ | xyz(15.4968, 17.9393, 3.5659) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.24
Olive
#808000
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.44
Brown Green
#706C11
ΔE00 4.84
Browny Green
#6F6C0A
ΔE00 4.93
Shit Green
#758000
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7819 #191F7E
analogous
#7E4619 #7E7819 #517E19
triadic
#7E7819 #197E78 #78197E
tetradic
#7E7819 #197E46 #191F7E #7E1951
square
#7E7819 #197E46 #191F7E #7E1951
split-complementary
#7E7819 #19517E #46197E
monochromatic
#1A1805 #4B470F #7E7819 #B1A923 #D8CE3A
Accessibility & contrast
On white
4.58
#7E7819 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7E7819 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7819
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7819 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7819 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837301
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#886F66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e7819; /* rgb */ color: rgb(126, 120, 25); /* oklch */ color: oklch(56.1% 0.110 105.7);
Tailwind
colors: {
custom: {
50: '#a79e5f',
500: '#7e7819',
950: '#000000',
},
}SCSS
$custom: #7e7819; $custom-light: #a79e5f; $custom-dark: #000000;
JSON
{
"hex": "#7e7819",
"rgb": {
"r": 126,
"g": 120,
"b": 25
},
"hsl": {
"h": 56.436,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.56096,
"c": 0.11045,
"h": 105.7
},
"luminance": 0.17939
}Semantic roles & 50–950 ramp
primary
#7E7819
secondary
#4147B2
accent
#48EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79