#7A7E18#7A7E18
#7A7E18 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.118 H 111.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E18 |
|---|---|
| RGB | rgb(122, 126, 24) |
| HSL | hsl(62, 68%, 29%) |
| HSV | hsv(62, 81%, 49%) |
| CMYK | cmyk(3.2%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(50.83, -14.01, 50.27) |
| CIE-LCH | lch(50.83, 52.19, 105.58°) |
| OKLab | oklab(57.14% -0.0441 0.1095) |
| OKLCH | oklch(57.14% 0.118 111.9) |
| XYZ | xyz(15.6523, 19.1256, 3.7311) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.25
Olive
#808000
ΔE00 2.55
Poop Green
#6F7C00
ΔE00 2.91
Murky Green
#6C7A0E
ΔE00 3.57
Olive (survey)
#6E750E
ΔE00 3.83
Swamp Green
#748500
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E18 #1C187E
analogous
#7E4F18 #7A7E18 #477E18
triadic
#7A7E18 #187A7E #7E187A
tetradic
#7A7E18 #187E4F #1C187E #7E1847
square
#7A7E18 #187E4F #1C187E #7E1847
split-complementary
#7A7E18 #18477E #4F187E
monochromatic
#191A05 #484B0E #7A7E18 #ACB122 #D3D937
Accessibility & contrast
On white
4.35
#7A7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7A7E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E18
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E18 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 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)
#887800
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e18; /* rgb */ color: rgb(122, 126, 24); /* oklch */ color: oklch(57.1% 0.118 111.9);
Tailwind
colors: {
custom: {
50: '#a4a35f',
500: '#7a7e18',
950: '#000000',
},
}SCSS
$custom: #7a7e18; $custom-light: #a4a35f; $custom-dark: #000000;
JSON
{
"hex": "#7a7e18",
"rgb": {
"r": 122,
"g": 126,
"b": 24
},
"hsl": {
"h": 62.353,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.57135,
"c": 0.118,
"h": 111.9
},
"luminance": 0.19125
}Semantic roles & 50–950 ramp
primary
#7A7E18
secondary
#443FB2
accent
#3DEB44
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79