#7E8219#7E8219
#7E8219 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.121 H 111.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8219 |
|---|---|
| RGB | rgb(126, 130, 25) |
| HSL | hsl(62, 68%, 30%) |
| HSV | hsv(62, 81%, 51%) |
| CMYK | cmyk(3.1%, 0%, 80.8%, 49%) |
| CIE-LAB | lab(52.37, -14.28, 51.45) |
| CIE-LCH | lch(52.37, 53.40, 105.52°) |
| OKLab | oklab(58.45% -0.045 0.112) |
| OKLCH | oklch(58.45% 0.121 111.9) |
| XYZ | xyz(16.7629, 20.4715, 3.9879) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.12
Shit Green
#758000
ΔE00 2.45
Swamp Green
#748500
ΔE00 3.43
Poop Green
#6F7C00
ΔE00 3.86
Murky Green
#6C7A0E
ΔE00 4.74
Olive (survey)
#6E750E
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8219 #1D1982
analogous
#825219 #7E8219 #498219
triadic
#7E8219 #197E82 #82197E
tetradic
#7E8219 #198252 #1D1982 #821949
square
#7E8219 #198252 #1D1982 #821949
split-complementary
#7E8219 #194982 #521982
monochromatic
#1A1B05 #4C4F0F #7E8219 #B0B523 #D3D93C
Accessibility & contrast
On white
4.12
#7E8219 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#7E8219 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8219
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8219 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8219 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#87796F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7e8219; /* rgb */ color: rgb(126, 130, 25); /* oklch */ color: oklch(58.4% 0.121 111.9);
Tailwind
colors: {
custom: {
50: '#a7a660',
500: '#7e8219',
950: '#000000',
},
}SCSS
$custom: #7e8219; $custom-light: #a7a660; $custom-dark: #000000;
JSON
{
"hex": "#7e8219",
"rgb": {
"r": 126,
"g": 130,
"b": 25
},
"hsl": {
"h": 62.286,
"s": 67.742,
"l": 30.392
},
"oklch": {
"l": 0.58447,
"c": 0.12071,
"h": 111.9
},
"luminance": 0.20471
}Semantic roles & 50–950 ramp
primary
#7E8219
secondary
#4541B6
accent
#3DEB44
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79