#7E7D18#7E7D18
#7E7D18 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.116 H 109.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D18 |
|---|---|
| RGB | rgb(126, 125, 24) |
| HSL | hsl(59, 68%, 29%) |
| HSV | hsv(59, 81%, 49%) |
| CMYK | cmyk(0%, 0.8%, 81%, 50.6%) |
| CIE-LAB | lab(50.88, -11.63, 50.45) |
| CIE-LCH | lch(50.88, 51.77, 102.98°) |
| OKLab | oklab(57.26% -0.0377 0.1097) |
| OKLCH | oklch(57.26% 0.116 109) |
| XYZ | xyz(16.1033, 19.1693, 3.7158) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.08
Shit Green
#758000
ΔE00 3.45
Poop Green
#6F7C00
ΔE00 4.14
Olive (survey)
#6E750E
ΔE00 4.41
Murky Green
#6C7A0E
ΔE00 4.79
Swamp Green
#748500
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D18 #18197E
analogous
#7E4A18 #7E7D18 #4C7E18
triadic
#7E7D18 #187E7D #7D187E
tetradic
#7E7D18 #187E4A #18197E #7E184C
square
#7E7D18 #187E4A #18197E #7E184C
split-complementary
#7E7D18 #184C7E #4A187E
monochromatic
#1A1A05 #4B4A0E #7E7D18 #B1B022 #D9D737
Accessibility & contrast
On white
4.34
#7E7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7E7D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D18
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D18 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#88746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d18; /* rgb */ color: rgb(126, 125, 24); /* oklch */ color: oklch(57.3% 0.116 109.0);
Tailwind
colors: {
custom: {
50: '#a7a25f',
500: '#7e7d18',
950: '#000000',
},
}SCSS
$custom: #7e7d18; $custom-light: #a7a25f; $custom-dark: #000000;
JSON
{
"hex": "#7e7d18",
"rgb": {
"r": 126,
"g": 125,
"b": 24
},
"hsl": {
"h": 59.412,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.57261,
"c": 0.11595,
"h": 109
},
"luminance": 0.19169
}Semantic roles & 50–950 ramp
primary
#7E7D18
secondary
#3F40B2
accent
#3FEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79