#7E7A19#7E7A19
#7E7A19 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.112 H 107.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7A19 |
|---|---|
| RGB | rgb(126, 122, 25) |
| HSL | hsl(58, 67%, 30%) |
| HSV | hsv(58, 80%, 49%) |
| CMYK | cmyk(0%, 3.2%, 80.2%, 50.6%) |
| CIE-LAB | lab(50.01, -9.95, 49.34) |
| CIE-LCH | lch(50.01, 50.33, 101.40°) |
| OKLab | oklab(56.56% -0.0329 0.1075) |
| OKLCH | oklch(56.56% 0.112 107) |
| XYZ | xyz(15.7398, 18.4254, 3.6469) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.05
Ugly Brown
#7D7103
ΔE00 4.04
Olive (survey)
#6E750E
ΔE00 4.28
Shit Green
#758000
ΔE00 4.54
Poop Green
#6F7C00
ΔE00 4.86
Murky Green
#6C7A0E
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7A19 #191D7E
analogous
#7E4819 #7E7A19 #4F7E19
triadic
#7E7A19 #197E7A #7A197E
tetradic
#7E7A19 #197E48 #191D7E #7E194F
square
#7E7A19 #197E48 #191D7E #7E194F
split-complementary
#7E7A19 #194F7E #48197E
monochromatic
#1A1905 #4B490F #7E7A19 #B1AB23 #D8D23A
Accessibility & contrast
On white
4.48
#7E7A19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7E7A19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7A19
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7A19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7A19 | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#887168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e7a19; /* rgb */ color: rgb(126, 122, 25); /* oklch */ color: oklch(56.6% 0.112 107.0);
Tailwind
colors: {
custom: {
50: '#a7a05f',
500: '#7e7a19',
950: '#000000',
},
}SCSS
$custom: #7e7a19; $custom-light: #a7a05f; $custom-dark: #000000;
JSON
{
"hex": "#7e7a19",
"rgb": {
"r": 126,
"g": 122,
"b": 25
},
"hsl": {
"h": 57.624,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.56563,
"c": 0.11241,
"h": 107
},
"luminance": 0.18425
}Semantic roles & 50–950 ramp
primary
#7E7A19
secondary
#4145B2
accent
#45EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79