#7A7E22#7A7E22
#7A7E22 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.112 H 111.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E22 |
|---|---|
| RGB | rgb(122, 126, 34) |
| HSL | hsl(63, 58%, 31%) |
| HSV | hsv(63, 73%, 49%) |
| CMYK | cmyk(3.2%, 0%, 73%, 50.6%) |
| CIE-LAB | lab(50.89, -13.54, 46.79) |
| CIE-LCH | lch(50.89, 48.71, 106.14°) |
| OKLab | oklab(57.2% -0.0419 0.104) |
| OKLCH | oklch(57.2% 0.112 111.9) |
| XYZ | xyz(15.7761, 19.1752, 4.3832) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.03
Poop Green
#6F7C00
ΔE00 3.41
Olive
#808000
ΔE00 3.48
Murky Green
#6C7A0E
ΔE00 3.66
Olive (survey)
#6E750E
ΔE00 3.94
Swamp Green
#748500
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E22 #26227E
analogous
#7E5422 #7A7E22 #4C7E22
triadic
#7A7E22 #227A7E #7E227A
tetradic
#7A7E22 #227E54 #26227E #7E224C
square
#7A7E22 #227E54 #26227E #7E224C
split-complementary
#7A7E22 #224C7E #54227E
monochromatic
#1D1E08 #4B4E15 #7A7E22 #A9AE2F #C9CF4C
Accessibility & contrast
On white
4.34
#7A7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7A7E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E22
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E22 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#83766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e22; /* rgb */ color: rgb(122, 126, 34); /* oklch */ color: oklch(57.2% 0.112 111.9);
Tailwind
colors: {
custom: {
50: '#a3a364',
500: '#7a7e22',
950: '#000000',
},
}SCSS
$custom: #7a7e22; $custom-light: #a3a364; $custom-dark: #000000;
JSON
{
"hex": "#7a7e22",
"rgb": {
"r": 122,
"g": 126,
"b": 34
},
"hsl": {
"h": 62.609,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.572,
"c": 0.11208,
"h": 111.9
},
"luminance": 0.19175
}Semantic roles & 50–950 ramp
primary
#7A7E22
secondary
#504BB1
accent
#47E14E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A