#7A7E16#7A7E16
#7A7E16 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 | #7A7E16 |
|---|---|
| RGB | rgb(122, 126, 22) |
| HSL | hsl(62, 70%, 29%) |
| HSV | hsv(62, 83%, 49%) |
| CMYK | cmyk(3.2%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(50.82, -14.09, 50.87) |
| CIE-LCH | lch(50.82, 52.79, 105.48°) |
| OKLab | oklab(57.13% -0.0445 0.1104) |
| OKLCH | oklch(57.13% 0.119 112) |
| XYZ | xyz(15.6323, 19.1176, 3.6255) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.15
Olive
#808000
ΔE00 2.41
Poop Green
#6F7C00
ΔE00 2.87
Murky Green
#6C7A0E
ΔE00 3.59
Olive (survey)
#6E750E
ΔE00 3.85
Swamp Green
#748500
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E16 #1A167E
analogous
#7E4E16 #7A7E16 #467E16
triadic
#7A7E16 #167A7E #7E167A
tetradic
#7A7E16 #167E4E #1A167E #7E1646
square
#7A7E16 #167E4E #1A167E #7E1646
split-complementary
#7A7E16 #16467E #4E167E
monochromatic
#191A05 #484A0D #7A7E16 #ACB21F #D5DB33
Accessibility & contrast
On white
4.35
#7A7E16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7A7E16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E16
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E16 | 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)
#897A20
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e16; /* rgb */ color: rgb(122, 126, 22); /* oklch */ color: oklch(57.1% 0.119 112.0);
Tailwind
colors: {
custom: {
50: '#a4a35e',
500: '#7a7e16',
950: '#000000',
},
}SCSS
$custom: #7a7e16; $custom-light: #a4a35e; $custom-dark: #000000;
JSON
{
"hex": "#7a7e16",
"rgb": {
"r": 122,
"g": 126,
"b": 22
},
"hsl": {
"h": 62.308,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.57125,
"c": 0.11899,
"h": 112
},
"luminance": 0.19117
}Semantic roles & 50–950 ramp
primary
#7A7E16
secondary
#413DB3
accent
#3BED42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79