#7E7E18#7E7E18
#7E7E18 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.117 H 109.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E18 |
|---|---|
| RGB | rgb(126, 126, 24) |
| HSL | hsl(60, 68%, 29%) |
| HSV | hsv(60, 81%, 49%) |
| CMYK | cmyk(0%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(51.18, -12.17, 50.71) |
| CIE-LCH | lch(51.18, 52.15, 103.50°) |
| OKLab | oklab(57.5% -0.0392 0.1102) |
| OKLCH | oklch(57.5% 0.117 109.6) |
| XYZ | xyz(16.2305, 19.4238, 3.7582) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.89
Shit Green
#758000
ΔE00 3.15
Poop Green
#6F7C00
ΔE00 3.99
Olive (survey)
#6E750E
ΔE00 4.54
Murky Green
#6C7A0E
ΔE00 4.70
Swamp Green
#748500
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E18 #18187E
analogous
#7E4B18 #7E7E18 #4B7E18
triadic
#7E7E18 #187E7E #7E187E
tetradic
#7E7E18 #187E4B #18187E #7E184B
square
#7E7E18 #187E4B #18187E #7E184B
split-complementary
#7E7E18 #184B7E #4B187E
monochromatic
#1A1A05 #4B4B0E #7E7E18 #B1B122 #D9D937
Accessibility & contrast
On white
4.30
#7E7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7E7E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E18
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E18 | 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)
#8A7B21
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e18; /* rgb */ color: rgb(126, 126, 24); /* oklch */ color: oklch(57.5% 0.117 109.6);
Tailwind
colors: {
custom: {
50: '#a7a35f',
500: '#7e7e18',
950: '#000000',
},
}SCSS
$custom: #7e7e18; $custom-light: #a7a35f; $custom-dark: #000000;
JSON
{
"hex": "#7e7e18",
"rgb": {
"r": 126,
"g": 126,
"b": 24
},
"hsl": {
"h": 60,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.57496,
"c": 0.11698,
"h": 109.6
},
"luminance": 0.19423
}Semantic roles & 50–950 ramp
primary
#7E7E18
secondary
#3F3FB2
accent
#3DEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79