#7A7B2A#7A7B2A
#7A7B2A is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.103 H 110.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7B2A |
|---|---|
| RGB | rgb(122, 123, 42) |
| HSL | hsl(61, 49%, 32%) |
| HSV | hsv(61, 66%, 48%) |
| CMYK | cmyk(0.8%, 0%, 65.9%, 51.8%) |
| CIE-LAB | lab(50.06, -11.42, 42.58) |
| CIE-LCH | lch(50.06, 44.09, 105.01°) |
| OKLab | oklab(56.56% -0.035 0.0965) |
| OKLCH | oklch(56.56% 0.103 110) |
| XYZ | xyz(15.5274, 18.4711, 4.9374) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.89
Olive (survey)
#6E750E
ΔE00 3.96
Murky Green
#6C7A0E
ΔE00 4.42
Poop Green
#6F7C00
ΔE00 4.63
Drab
#828344
ΔE00 4.64
Shit Green
#758000
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7B2A #2B2A7B
analogous
#7B542A #7A7B2A #517B2A
triadic
#7A7B2A #2A7A7B #7B2A7A
tetradic
#7A7B2A #2A7B54 #2B2A7B #7B2A51
square
#7A7B2A #2A7B54 #2B2A7B #7B2A51
split-complementary
#7A7B2A #2A517B #542A7B
monochromatic
#1F200B #4D4D1A #7A7B2A #A7A93A #C5C659
Accessibility & contrast
On white
4.47
#7A7B2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7A7B2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7B2A
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7B2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7B2A | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#82736A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7b2a; /* rgb */ color: rgb(122, 123, 42); /* oklch */ color: oklch(56.6% 0.103 110.0);
Tailwind
colors: {
custom: {
50: '#a3a168',
500: '#7a7b2a',
950: '#000000',
},
}SCSS
$custom: #7a7b2a; $custom-light: #a3a168; $custom-dark: #000000;
JSON
{
"hex": "#7a7b2a",
"rgb": {
"r": 122,
"g": 123,
"b": 42
},
"hsl": {
"h": 60.741,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.56557,
"c": 0.10266,
"h": 110
},
"luminance": 0.18471
}Semantic roles & 50–950 ramp
primary
#7A7B2A
secondary
#5655AC
accent
#4FD951
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A