#7A7916#7A7916
#7A7916 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.114 H 109.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7916 |
|---|---|
| RGB | rgb(122, 121, 22) |
| HSL | hsl(59, 69%, 28%) |
| HSV | hsv(59, 82%, 48%) |
| CMYK | cmyk(0%, 0.8%, 82%, 52.2%) |
| CIE-LAB | lab(49.34, -11.38, 49.56) |
| CIE-LCH | lch(49.34, 50.85, 102.93°) |
| OKLab | oklab(55.94% -0.0369 0.1076) |
| OKLCH | oklch(55.94% 0.114 109) |
| XYZ | xyz(15.0088, 17.8707, 3.4177) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.18
Olive
#808000
ΔE00 3.29
Poop Green
#6F7C00
ΔE00 3.94
Shit Green
#758000
ΔE00 3.96
Murky Green
#6C7A0E
ΔE00 4.26
Ugly Brown
#7D7103
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7916 #16177A
analogous
#7A4716 #7A7916 #497A16
triadic
#7A7916 #167A79 #79167A
tetradic
#7A7916 #167A47 #16177A #7A1649
square
#7A7916 #167A47 #16177A #7A1649
split-complementary
#7A7916 #16497A #47167A
monochromatic
#1A1A05 #46460D #7A7916 #AEAC1F #DAD831
Accessibility & contrast
On white
4.59
#7A7916 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7A7916 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A7916
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7916 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A7916 | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a7916; /* rgb */ color: rgb(122, 121, 22); /* oklch */ color: oklch(55.9% 0.114 109.0);
Tailwind
colors: {
custom: {
50: '#a49f5e',
500: '#7a7916',
950: '#000000',
},
}SCSS
$custom: #7a7916; $custom-light: #a49f5e; $custom-dark: #000000;
JSON
{
"hex": "#7a7916",
"rgb": {
"r": 122,
"g": 121,
"b": 22
},
"hsl": {
"h": 59.4,
"s": 69.444,
"l": 28.235
},
"oklch": {
"l": 0.55937,
"c": 0.11372,
"h": 109
},
"luminance": 0.1787
}Semantic roles & 50–950 ramp
primary
#7A7916
secondary
#3D3EAF
accent
#3DEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79