#7A7C16#7A7C16
#7A7C16 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.117 H 110.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7C16 |
|---|---|
| RGB | rgb(122, 124, 22) |
| HSL | hsl(61, 70%, 29%) |
| HSV | hsv(61, 82%, 49%) |
| CMYK | cmyk(1.6%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(50.23, -13.01, 50.35) |
| CIE-LCH | lch(50.23, 52.00, 104.49°) |
| OKLab | oklab(56.65% -0.0415 0.1092) |
| OKLCH | oklch(56.65% 0.117 110.8) |
| XYZ | xyz(15.3791, 18.6112, 3.5411) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.59
Shit Green
#758000
ΔE00 2.81
Poop Green
#6F7C00
ΔE00 3.15
Olive (survey)
#6E750E
ΔE00 3.43
Murky Green
#6C7A0E
ΔE00 3.71
Swamp Green
#748500
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7C16 #18167C
analogous
#7C4B16 #7A7C16 #477C16
triadic
#7A7C16 #167A7C #7C167A
tetradic
#7A7C16 #167C4B #18167C #7C1647
square
#7A7C16 #167C4B #18167C #7C1647
split-complementary
#7A7C16 #16477C #4B167C
monochromatic
#1A1A05 #47480D #7A7C16 #ADB01F #D7DB32
Accessibility & contrast
On white
4.45
#7A7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7A7C16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7C16
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7C16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7C16 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#83746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7c16; /* rgb */ color: rgb(122, 124, 22); /* oklch */ color: oklch(56.6% 0.117 110.8);
Tailwind
colors: {
custom: {
50: '#a4a15e',
500: '#7a7c16',
950: '#000000',
},
}SCSS
$custom: #7a7c16; $custom-light: #a4a15e; $custom-dark: #000000;
JSON
{
"hex": "#7a7c16",
"rgb": {
"r": 122,
"g": 124,
"b": 22
},
"hsl": {
"h": 61.176,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.56649,
"c": 0.11684,
"h": 110.8
},
"luminance": 0.18611
}Semantic roles & 50–950 ramp
primary
#7A7C16
secondary
#3F3DB1
accent
#3BED3F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79