#7E7A15#7E7A15
#7E7A15 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.114 H 107.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7A15 |
|---|---|
| RGB | rgb(126, 122, 21) |
| HSL | hsl(58, 71%, 29%) |
| HSV | hsv(58, 83%, 49%) |
| CMYK | cmyk(0%, 3.2%, 83.3%, 50.6%) |
| CIE-LAB | lab(49.99, -10.10, 50.57) |
| CIE-LCH | lch(49.99, 51.57, 101.29°) |
| OKLab | oklab(56.54% -0.0337 0.1093) |
| OKLCH | oklch(56.54% 0.114 107.1) |
| XYZ | xyz(15.6997, 18.4094, 3.4357) |
| Luminance | 0.1841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.82
Ugly Brown
#7D7103
ΔE00 3.95
Olive (survey)
#6E750E
ΔE00 4.31
Shit Green
#758000
ΔE00 4.45
Poop Green
#6F7C00
ΔE00 4.80
Murky Green
#6C7A0E
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7A15 #15197E
analogous
#7E4615 #7E7A15 #4E7E15
triadic
#7E7A15 #157E7A #7A157E
tetradic
#7E7A15 #157E46 #15197E #7E154E
square
#7E7A15 #157E46 #15197E #7E154E
split-complementary
#7E7A15 #154E7E #46157E
monochromatic
#1A1904 #4A470C #7E7A15 #B2AD1E #DDD631
Accessibility & contrast
On white
4.49
#7E7A15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7E7A15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7A15
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7A15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7A15 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 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)
#87791E
Tritanopia (blue-blind)
#887168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e7a15; /* rgb */ color: rgb(126, 122, 21); /* oklch */ color: oklch(56.5% 0.114 107.1);
Tailwind
colors: {
custom: {
50: '#a7a05d',
500: '#7e7a15',
950: '#000000',
},
}SCSS
$custom: #7e7a15; $custom-light: #a7a05d; $custom-dark: #000000;
JSON
{
"hex": "#7e7a15",
"rgb": {
"r": 126,
"g": 122,
"b": 21
},
"hsl": {
"h": 57.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.56541,
"c": 0.11441,
"h": 107.1
},
"luminance": 0.18409
}Semantic roles & 50–950 ramp
primary
#7E7A15
secondary
#3C40B3
accent
#41EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79