#7E7E22#7E7E22
#7E7E22 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.111 H 109.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E22 |
|---|---|
| RGB | rgb(126, 126, 34) |
| HSL | hsl(60, 58%, 31%) |
| HSV | hsv(60, 73%, 49%) |
| CMYK | cmyk(0%, 0%, 73%, 50.6%) |
| CIE-LAB | lab(51.24, -11.71, 47.24) |
| CIE-LCH | lch(51.24, 48.67, 103.92°) |
| OKLab | oklab(57.56% -0.037 0.1048) |
| OKLCH | oklch(57.56% 0.111 109.4) |
| XYZ | xyz(16.3544, 19.4733, 4.4103) |
| Luminance | 0.1947 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.92
Shit Green
#758000
ΔE00 3.67
Poop Green
#6F7C00
ΔE00 4.30
Olive (survey)
#6E750E
ΔE00 4.57
Murky Green
#6C7A0E
ΔE00 4.72
Swamp Green
#748500
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E22 #22227E
analogous
#7E5022 #7E7E22 #507E22
triadic
#7E7E22 #227E7E #7E227E
tetradic
#7E7E22 #227E50 #22227E #7E2250
square
#7E7E22 #227E50 #22227E #7E2250
split-complementary
#7E7E22 #22507E #50227E
monochromatic
#1E1E08 #4E4E15 #7E7E22 #AEAE2F #CFCF4C
Accessibility & contrast
On white
4.29
#7E7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7E7E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E22
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E22 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887912
Deuteranopia (green-blind)
#8A7B29
Tritanopia (blue-blind)
#87766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e22; /* rgb */ color: rgb(126, 126, 34); /* oklch */ color: oklch(57.6% 0.111 109.4);
Tailwind
colors: {
custom: {
50: '#a6a364',
500: '#7e7e22',
950: '#000000',
},
}SCSS
$custom: #7e7e22; $custom-light: #a6a364; $custom-dark: #000000;
JSON
{
"hex": "#7e7e22",
"rgb": {
"r": 126,
"g": 126,
"b": 34
},
"hsl": {
"h": 60,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.5756,
"c": 0.11112,
"h": 109.4
},
"luminance": 0.19473
}Semantic roles & 50–950 ramp
primary
#7E7E22
secondary
#4B4BB1
accent
#47E147
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A