#7E7D22#7E7D22
#7E7D22 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.110 H 108.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D22 |
|---|---|
| RGB | rgb(126, 125, 34) |
| HSL | hsl(59, 58%, 31%) |
| HSV | hsv(59, 73%, 49%) |
| CMYK | cmyk(0%, 0.8%, 73%, 50.6%) |
| CIE-LAB | lab(50.94, -11.17, 46.95) |
| CIE-LCH | lch(50.94, 48.26, 103.38°) |
| OKLab | oklab(57.33% -0.0354 0.1042) |
| OKLCH | oklch(57.33% 0.11 108.8) |
| XYZ | xyz(16.2271, 19.2188, 4.3679) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.07
Shit Green
#758000
ΔE00 3.95
Olive (survey)
#6E750E
ΔE00 4.46
Poop Green
#6F7C00
ΔE00 4.46
Murky Green
#6C7A0E
ΔE00 4.82
Drab
#828344
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D22 #22237E
analogous
#7E4F22 #7E7D22 #517E22
triadic
#7E7D22 #227E7D #7D227E
tetradic
#7E7D22 #227E4F #22237E #7E2251
square
#7E7D22 #227E4F #22237E #7E2251
split-complementary
#7E7D22 #22517E #4F227E
monochromatic
#1E1D08 #4E4D15 #7E7D22 #AEAD2F #CFCD4C
Accessibility & contrast
On white
4.34
#7E7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7E7D22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D22
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D22 | 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)
#897B29
Tritanopia (blue-blind)
#87756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d22; /* rgb */ color: rgb(126, 125, 34); /* oklch */ color: oklch(57.3% 0.110 108.8);
Tailwind
colors: {
custom: {
50: '#a6a264',
500: '#7e7d22',
950: '#000000',
},
}SCSS
$custom: #7e7d22; $custom-light: #a6a264; $custom-dark: #000000;
JSON
{
"hex": "#7e7d22",
"rgb": {
"r": 126,
"g": 125,
"b": 34
},
"hsl": {
"h": 59.348,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.57325,
"c": 0.11006,
"h": 108.8
},
"luminance": 0.19218
}Semantic roles & 50–950 ramp
primary
#7E7D22
secondary
#4B4CB1
accent
#49E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A