#7A7E15#7A7E15
#7A7E15 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.119 H 112.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E15 |
|---|---|
| RGB | rgb(122, 126, 21) |
| HSL | hsl(62, 71%, 29%) |
| HSV | hsv(62, 83%, 49%) |
| CMYK | cmyk(3.2%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(50.82, -14.13, 51.16) |
| CIE-LCH | lch(50.82, 53.08, 105.44°) |
| OKLab | oklab(57.12% -0.0446 0.1108) |
| OKLCH | oklch(57.12% 0.119 112) |
| XYZ | xyz(15.6228, 19.1138, 3.5757) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.11
Olive
#808000
ΔE00 2.34
Poop Green
#6F7C00
ΔE00 2.85
Murky Green
#6C7A0E
ΔE00 3.60
Swamp Green
#748500
ΔE00 3.85
Olive (survey)
#6E750E
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E15 #19157E
analogous
#7E4E15 #7A7E15 #467E15
triadic
#7A7E15 #157A7E #7E157A
tetradic
#7A7E15 #157E4E #19157E #7E1546
square
#7A7E15 #157E4E #19157E #7E1546
split-complementary
#7A7E15 #15467E #4E157E
monochromatic
#191A04 #474A0C #7A7E15 #ADB21E #D6DD31
Accessibility & contrast
On white
4.35
#7A7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7A7E15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E15
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E15 | 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)
#897A1F
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e15; /* rgb */ color: rgb(122, 126, 21); /* oklch */ color: oklch(57.1% 0.119 112.0);
Tailwind
colors: {
custom: {
50: '#a4a35e',
500: '#7a7e15',
950: '#000000',
},
}SCSS
$custom: #7a7e15; $custom-light: #a4a35e; $custom-dark: #000000;
JSON
{
"hex": "#7a7e15",
"rgb": {
"r": 122,
"g": 126,
"b": 21
},
"hsl": {
"h": 62.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.5712,
"c": 0.11945,
"h": 112
},
"luminance": 0.19113
}Semantic roles & 50–950 ramp
primary
#7A7E15
secondary
#403CB3
accent
#3AEE41
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79