#7A7D1E#7A7D1E
#7A7D1E is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.114 H 111.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7D1E |
|---|---|
| RGB | rgb(122, 125, 30) |
| HSL | hsl(62, 61%, 30%) |
| HSV | hsv(62, 76%, 49%) |
| CMYK | cmyk(2.4%, 0%, 76%, 51%) |
| CIE-LAB | lab(50.57, -13.21, 47.99) |
| CIE-LCH | lch(50.57, 49.77, 105.39°) |
| OKLab | oklab(56.93% -0.0413 0.1058) |
| OKLCH | oklch(56.93% 0.114 111.3) |
| XYZ | xyz(15.5945, 18.8989, 4.0544) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.93
Olive
#808000
ΔE00 3.12
Poop Green
#6F7C00
ΔE00 3.27
Murky Green
#6C7A0E
ΔE00 3.62
Olive (survey)
#6E750E
ΔE00 3.64
Swamp Green
#748500
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7D1E #211E7D
analogous
#7D501E #7A7D1E #4A7D1E
triadic
#7A7D1E #1E7A7D #7D1E7A
tetradic
#7A7D1E #1E7D50 #211E7D #7D1E4A
square
#7A7D1E #1E7D50 #211E7D #7D1E4A
split-complementary
#7A7D1E #1E4A7D #501E7D
monochromatic
#1A1A06 #4A4C12 #7A7D1E #AAAE2A #CDD243
Accessibility & contrast
On white
4.39
#7A7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7A7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7D1E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7D1E | 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)
#87770A
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a7d1e; /* rgb */ color: rgb(122, 125, 30); /* oklch */ color: oklch(56.9% 0.114 111.3);
Tailwind
colors: {
custom: {
50: '#a3a262',
500: '#7a7d1e',
950: '#000000',
},
}SCSS
$custom: #7a7d1e; $custom-light: #a3a262; $custom-dark: #000000;
JSON
{
"hex": "#7a7d1e",
"rgb": {
"r": 122,
"g": 125,
"b": 30
},
"hsl": {
"h": 61.895,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.56934,
"c": 0.11355,
"h": 111.3
},
"luminance": 0.18899
}Semantic roles & 50–950 ramp
primary
#7A7D1E
secondary
#4A46B0
accent
#43E448
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A