#7E7D29#7E7D29
#7E7D29 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.105 H 108.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D29 |
|---|---|
| RGB | rgb(126, 125, 41) |
| HSL | hsl(59, 51%, 33%) |
| HSV | hsv(59, 67%, 49%) |
| CMYK | cmyk(0%, 0.8%, 67.5%, 50.6%) |
| CIE-LAB | lab(50.99, -10.76, 44.10) |
| CIE-LCH | lch(50.99, 45.40, 103.71°) |
| OKLab | oklab(57.38% -0.0335 0.0994) |
| OKLCH | oklch(57.38% 0.105 108.6) |
| XYZ | xyz(16.3386, 19.2634, 4.9549) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.95
Drab
#828344
ΔE00 4.53
Shit Green
#758000
ΔE00 4.56
Olive (survey)
#6E750E
ΔE00 4.72
Poop Green
#6F7C00
ΔE00 4.93
Murky Green
#6C7A0E
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D29 #292A7E
analogous
#7E5229 #7E7D29 #547E29
triadic
#7E7D29 #297E7D #7D297E
tetradic
#7E7D29 #297E52 #292A7E #7E2954
square
#7E7D29 #297E52 #292A7E #7E2954
split-complementary
#7E7D29 #29547E #52297E
monochromatic
#22210B #504F1A #7E7D29 #ACAB38 #C9C859
Accessibility & contrast
On white
4.33
#7E7D29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7E7D29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D29
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D29 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#87756C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d29; /* rgb */ color: rgb(126, 125, 41); /* oklch */ color: oklch(57.4% 0.105 108.6);
Tailwind
colors: {
custom: {
50: '#a6a268',
500: '#7e7d29',
950: '#000000',
},
}SCSS
$custom: #7e7d29; $custom-light: #a6a268; $custom-dark: #000000;
JSON
{
"hex": "#7e7d29",
"rgb": {
"r": 126,
"g": 125,
"b": 41
},
"hsl": {
"h": 59.294,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.57383,
"c": 0.10493,
"h": 108.6
},
"luminance": 0.19263
}Semantic roles & 50–950 ramp
primary
#7E7D29
secondary
#5556AE
accent
#4FDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A