#7A7E17#7A7E17
#7A7E17 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.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E17 |
|---|---|
| RGB | rgb(122, 126, 23) |
| HSL | hsl(62, 69%, 29%) |
| HSV | hsv(62, 82%, 49%) |
| CMYK | cmyk(3.2%, 0%, 81.7%, 50.6%) |
| CIE-LAB | lab(50.83, -14.05, 50.57) |
| CIE-LCH | lch(50.83, 52.49, 105.53°) |
| OKLab | oklab(57.13% -0.0443 0.1099) |
| OKLCH | oklch(57.13% 0.119 111.9) |
| XYZ | xyz(15.6421, 19.1215, 3.6773) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.20
Olive
#808000
ΔE00 2.48
Poop Green
#6F7C00
ΔE00 2.89
Murky Green
#6C7A0E
ΔE00 3.57
Olive (survey)
#6E750E
ΔE00 3.84
Swamp Green
#748500
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E17 #1B177E
analogous
#7E4F17 #7A7E17 #477E17
triadic
#7A7E17 #177A7E #7E177A
tetradic
#7A7E17 #177E4F #1B177E #7E1747
square
#7A7E17 #177E4F #1B177E #7E1747
split-complementary
#7A7E17 #17477E #4F177E
monochromatic
#191A05 #484A0E #7A7E17 #ACB220 #D4DA35
Accessibility & contrast
On white
4.35
#7A7E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7A7E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E17
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E17 | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 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: #7a7e17; /* rgb */ color: rgb(122, 126, 23); /* oklch */ color: oklch(57.1% 0.118 111.9);
Tailwind
colors: {
custom: {
50: '#a4a35f',
500: '#7a7e17',
950: '#000000',
},
}SCSS
$custom: #7a7e17; $custom-light: #a4a35f; $custom-dark: #000000;
JSON
{
"hex": "#7a7e17",
"rgb": {
"r": 122,
"g": 126,
"b": 23
},
"hsl": {
"h": 62.33,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.5713,
"c": 0.1185,
"h": 111.9
},
"luminance": 0.19121
}Semantic roles & 50–950 ramp
primary
#7A7E17
secondary
#433EB3
accent
#3CEC43
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79