#7A7A16#7A7A16
#7A7A16 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.115 H 109.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7A16 |
|---|---|
| RGB | rgb(122, 122, 22) |
| HSL | hsl(60, 69%, 28%) |
| HSV | hsv(60, 82%, 48%) |
| CMYK | cmyk(0%, 0%, 82%, 52.2%) |
| CIE-LAB | lab(49.64, -11.93, 49.83) |
| CIE-LCH | lch(49.64, 51.23, 103.46°) |
| OKLab | oklab(56.17% -0.0385 0.1081) |
| OKLCH | oklch(56.17% 0.115 109.6) |
| XYZ | xyz(15.1310, 18.1150, 3.4584) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.01
Olive (survey)
#6E750E
ΔE00 3.21
Shit Green
#758000
ΔE00 3.56
Poop Green
#6F7C00
ΔE00 3.64
Murky Green
#6C7A0E
ΔE00 4.04
Ugly Brown
#7D7103
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7A16 #16167A
analogous
#7A4816 #7A7A16 #487A16
triadic
#7A7A16 #167A7A #7A167A
tetradic
#7A7A16 #167A48 #16167A #7A1648
square
#7A7A16 #167A48 #16167A #7A1648
split-complementary
#7A7A16 #16487A #48167A
monochromatic
#1A1A05 #46460D #7A7A16 #AEAE1F #DADA31
Accessibility & contrast
On white
4.54
#7A7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7A7A16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7A16
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7A16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7A16 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#86771F
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a7a16; /* rgb */ color: rgb(122, 122, 22); /* oklch */ color: oklch(56.2% 0.115 109.6);
Tailwind
colors: {
custom: {
50: '#a4a05e',
500: '#7a7a16',
950: '#000000',
},
}SCSS
$custom: #7a7a16; $custom-light: #a4a05e; $custom-dark: #000000;
JSON
{
"hex": "#7a7a16",
"rgb": {
"r": 122,
"g": 122,
"b": 22
},
"hsl": {
"h": 60,
"s": 69.444,
"l": 28.235
},
"oklch": {
"l": 0.56174,
"c": 0.11475,
"h": 109.6
},
"luminance": 0.18115
}Semantic roles & 50–950 ramp
primary
#7A7A16
secondary
#3D3DAF
accent
#3CEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79