#7E8419#7E8419
#7E8419 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.123 H 113.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8419 |
|---|---|
| RGB | rgb(126, 132, 25) |
| HSL | hsl(63, 68%, 31%) |
| HSV | hsv(63, 81%, 52%) |
| CMYK | cmyk(4.5%, 0%, 81.1%, 48.2%) |
| CIE-LAB | lab(52.96, -15.35, 51.98) |
| CIE-LCH | lch(52.96, 54.20, 106.45°) |
| OKLab | oklab(58.92% -0.0479 0.1131) |
| OKLCH | oklch(58.92% 0.123 113) |
| XYZ | xyz(17.0315, 21.0087, 4.0774) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.48
Olive
#808000
ΔE00 2.62
Swamp Green
#748500
ΔE00 2.91
Poop Green
#6F7C00
ΔE00 4.07
Murky Green
#6C7A0E
ΔE00 4.99
Olive Green
#677A04
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8419 #1F1984
analogous
#845419 #7E8419 #498419
triadic
#7E8419 #197E84 #84197E
tetradic
#7E8419 #198454 #1F1984 #841949
square
#7E8419 #198454 #1F1984 #841949
split-complementary
#7E8419 #194984 #541984
monochromatic
#1C1D06 #4D510F #7E8419 #AFB723 #D1DA3D
Accessibility & contrast
On white
4.04
#7E8419 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#7E8419 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8419
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8419 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8419 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#877C70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7e8419; /* rgb */ color: rgb(126, 132, 25); /* oklch */ color: oklch(58.9% 0.123 113.0);
Tailwind
colors: {
custom: {
50: '#a7a761',
500: '#7e8419',
950: '#000000',
},
}SCSS
$custom: #7e8419; $custom-light: #a7a761; $custom-dark: #000000;
JSON
{
"hex": "#7e8419",
"rgb": {
"r": 126,
"g": 132,
"b": 25
},
"hsl": {
"h": 63.364,
"s": 68.153,
"l": 30.784
},
"oklch": {
"l": 0.58922,
"c": 0.12288,
"h": 113
},
"luminance": 0.21008
}Semantic roles & 50–950 ramp
primary
#7E8419
secondary
#4841B8
accent
#3DEB47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A