#7A7D1D#7A7D1D
#7A7D1D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.114 H 111.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7D1D |
|---|---|
| RGB | rgb(122, 125, 29) |
| HSL | hsl(62, 62%, 30%) |
| HSV | hsv(62, 77%, 49%) |
| CMYK | cmyk(2.4%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(50.56, -13.26, 48.34) |
| CIE-LCH | lch(50.56, 50.13, 105.34°) |
| OKLab | oklab(56.93% -0.0416 0.1063) |
| OKLCH | oklch(56.93% 0.114 111.4) |
| XYZ | xyz(15.5820, 18.8939, 3.9882) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.86
Olive
#808000
ΔE00 3.03
Poop Green
#6F7C00
ΔE00 3.22
Murky Green
#6C7A0E
ΔE00 3.61
Olive (survey)
#6E750E
ΔE00 3.62
Swamp Green
#748500
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7D1D #201D7D
analogous
#7D501D #7A7D1D #4A7D1D
triadic
#7A7D1D #1D7A7D #7D1D7A
tetradic
#7A7D1D #1D7D50 #201D7D #7D1D4A
square
#7A7D1D #1D7D50 #201D7D #7D1D4A
split-complementary
#7A7D1D #1D4A7D #501D7D
monochromatic
#191A06 #4A4B11 #7A7D1D #AAAF29 #CED341
Accessibility & contrast
On white
4.39
#7A7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7A7D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7D1D
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7D1D | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a7d1d; /* rgb */ color: rgb(122, 125, 29); /* oklch */ color: oklch(56.9% 0.114 111.4);
Tailwind
colors: {
custom: {
50: '#a4a261',
500: '#7a7d1d',
950: '#000000',
},
}SCSS
$custom: #7a7d1d; $custom-light: #a4a261; $custom-dark: #000000;
JSON
{
"hex": "#7a7d1d",
"rgb": {
"r": 122,
"g": 125,
"b": 29
},
"hsl": {
"h": 61.875,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.56927,
"c": 0.11415,
"h": 111.4
},
"luminance": 0.18894
}Semantic roles & 50–950 ramp
primary
#7A7D1D
secondary
#4945B1
accent
#42E547
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A