#7E8618#7E8618
#7E8618 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.126 H 114.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8618 |
|---|---|
| RGB | rgb(126, 134, 24) |
| HSL | hsl(64, 70%, 31%) |
| HSV | hsv(64, 82%, 53%) |
| CMYK | cmyk(6%, 0%, 82.1%, 47.5%) |
| CIE-LAB | lab(53.55, -16.45, 52.81) |
| CIE-LCH | lch(53.55, 55.31, 107.30°) |
| OKLab | oklab(59.39% -0.051 0.1147) |
| OKLCH | oklch(59.39% 0.126 114) |
| XYZ | xyz(17.2947, 21.5521, 4.1129) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.55
Shit Green
#758000
ΔE00 2.74
Olive
#808000
ΔE00 3.20
Poop Green
#6F7C00
ΔE00 4.42
Dark Yellow Green
#728F02
ΔE00 5.19
Murky Green
#6C7A0E
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8618 #201886
analogous
#865718 #7E8618 #478618
triadic
#7E8618 #187E86 #86187E
tetradic
#7E8618 #188657 #201886 #861847
square
#7E8618 #188657 #201886 #861847
split-complementary
#7E8618 #184786 #571886
monochromatic
#1C1E05 #4D520F #7E8618 #AFBA21 #D0DC3C
Accessibility & contrast
On white
3.95
#7E8618 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#7E8618 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8618
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8618 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8618 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#877E72
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e8618; /* rgb */ color: rgb(126, 134, 24); /* oklch */ color: oklch(59.4% 0.126 114.0);
Tailwind
colors: {
custom: {
50: '#a7a960',
500: '#7e8618',
950: '#000000',
},
}SCSS
$custom: #7e8618; $custom-light: #a7a960; $custom-dark: #000000;
JSON
{
"hex": "#7e8618",
"rgb": {
"r": 126,
"g": 134,
"b": 24
},
"hsl": {
"h": 64.364,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.59393,
"c": 0.12556,
"h": 114
},
"luminance": 0.21552
}Semantic roles & 50–950 ramp
primary
#7E8618
secondary
#4940BA
accent
#3BEC48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A