#7E7E15#7E7E15
#7E7E15 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.118 H 109.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E15 |
|---|---|
| RGB | rgb(126, 126, 21) |
| HSL | hsl(60, 71%, 29%) |
| HSV | hsv(60, 83%, 49%) |
| CMYK | cmyk(0%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(51.17, -12.28, 51.59) |
| CIE-LCH | lch(51.17, 53.04, 103.39°) |
| OKLab | oklab(57.48% -0.0397 0.1115) |
| OKLCH | oklch(57.48% 0.118 109.6) |
| XYZ | xyz(16.2010, 19.4120, 3.6028) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.64
Shit Green
#758000
ΔE00 3.07
Poop Green
#6F7C00
ΔE00 3.96
Olive (survey)
#6E750E
ΔE00 4.57
Swamp Green
#748500
ΔE00 4.72
Murky Green
#6C7A0E
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E15 #15157E
analogous
#7E4A15 #7E7E15 #4A7E15
triadic
#7E7E15 #157E7E #7E157E
tetradic
#7E7E15 #157E4A #15157E #7E154A
square
#7E7E15 #157E4A #15157E #7E154A
split-complementary
#7E7E15 #154A7E #4A157E
monochromatic
#1A1A04 #4A4A0C #7E7E15 #B2B21E #DDDD31
Accessibility & contrast
On white
4.30
#7E7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7E7E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E15
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E15 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e15; /* rgb */ color: rgb(126, 126, 21); /* oklch */ color: oklch(57.5% 0.118 109.6);
Tailwind
colors: {
custom: {
50: '#a7a35e',
500: '#7e7e15',
950: '#000000',
},
}SCSS
$custom: #7e7e15; $custom-light: #a7a35e; $custom-dark: #000000;
JSON
{
"hex": "#7e7e15",
"rgb": {
"r": 126,
"g": 126,
"b": 21
},
"hsl": {
"h": 60,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.57481,
"c": 0.11841,
"h": 109.6
},
"luminance": 0.19411
}Semantic roles & 50–950 ramp
primary
#7E7E15
secondary
#3C3CB3
accent
#3AEE3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79