#7A7A1A#7A7A1A
#7A7A1A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.113 H 109.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7A1A |
|---|---|
| RGB | rgb(122, 122, 26) |
| HSL | hsl(60, 65%, 29%) |
| HSV | hsv(60, 79%, 48%) |
| CMYK | cmyk(0%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(49.66, -11.76, 48.55) |
| CIE-LCH | lch(49.66, 49.95, 103.62°) |
| OKLab | oklab(56.2% -0.0377 0.1062) |
| OKLCH | oklch(56.2% 0.113 109.5) |
| XYZ | xyz(15.1726, 18.1317, 3.6776) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.20
Olive
#808000
ΔE00 3.28
Shit Green
#758000
ΔE00 3.72
Poop Green
#6F7C00
ΔE00 3.75
Murky Green
#6C7A0E
ΔE00 4.03
Ugly Brown
#7D7103
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7A1A #1A1A7A
analogous
#7A4A1A #7A7A1A #4A7A1A
triadic
#7A7A1A #1A7A7A #7A1A7A
tetradic
#7A7A1A #1A7A4A #1A1A7A #7A1A4A
square
#7A7A1A #1A7A4A #1A1A7A #7A1A4A
split-complementary
#7A7A1A #1A4A7A #4A1A7A
monochromatic
#191905 #48480F #7A7A1A #ACAC25 #D5D539
Accessibility & contrast
On white
4.54
#7A7A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7A7A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7A1A
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7A1A | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847502
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a7a1a; /* rgb */ color: rgb(122, 122, 26); /* oklch */ color: oklch(56.2% 0.113 109.5);
Tailwind
colors: {
custom: {
50: '#a4a05f',
500: '#7a7a1a',
950: '#000000',
},
}SCSS
$custom: #7a7a1a; $custom-light: #a4a05f; $custom-dark: #000000;
JSON
{
"hex": "#7a7a1a",
"rgb": {
"r": 122,
"g": 122,
"b": 26
},
"hsl": {
"h": 60,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.56196,
"c": 0.11265,
"h": 109.5
},
"luminance": 0.18131
}Semantic roles & 50–950 ramp
primary
#7A7A1A
secondary
#4141AE
accent
#40E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79