#7E7E19#7E7E19
#7E7E19 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.116 H 109.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E19 |
|---|---|
| RGB | rgb(126, 126, 25) |
| HSL | hsl(60, 67%, 30%) |
| HSV | hsv(60, 80%, 49%) |
| CMYK | cmyk(0%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(51.18, -12.13, 50.40) |
| CIE-LCH | lch(51.18, 51.84, 103.53°) |
| OKLab | oklab(57.5% -0.039 0.1097) |
| OKLCH | oklch(57.5% 0.116 109.6) |
| XYZ | xyz(16.2411, 19.4280, 3.8140) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.98
Shit Green
#758000
ΔE00 3.18
Poop Green
#6F7C00
ΔE00 4.00
Olive (survey)
#6E750E
ΔE00 4.53
Murky Green
#6C7A0E
ΔE00 4.69
Swamp Green
#748500
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E19 #19197E
analogous
#7E4C19 #7E7E19 #4C7E19
triadic
#7E7E19 #197E7E #7E197E
tetradic
#7E7E19 #197E4C #19197E #7E194C
square
#7E7E19 #197E4C #19197E #7E194C
split-complementary
#7E7E19 #194C7E #4C197E
monochromatic
#1A1A05 #4B4B0F #7E7E19 #B1B123 #D8D83A
Accessibility & contrast
On white
4.30
#7E7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7E7E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E19
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E19 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#87756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e19; /* rgb */ color: rgb(126, 126, 25); /* oklch */ color: oklch(57.5% 0.116 109.6);
Tailwind
colors: {
custom: {
50: '#a7a360',
500: '#7e7e19',
950: '#000000',
},
}SCSS
$custom: #7e7e19; $custom-light: #a7a360; $custom-dark: #000000;
JSON
{
"hex": "#7e7e19",
"rgb": {
"r": 126,
"g": 126,
"b": 25
},
"hsl": {
"h": 60,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.57502,
"c": 0.11646,
"h": 109.6
},
"luminance": 0.19428
}Semantic roles & 50–950 ramp
primary
#7E7E19
secondary
#4141B2
accent
#3EEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79