#7E7E29#7E7E29
#7E7E29 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.106 H 109.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E29 |
|---|---|
| RGB | rgb(126, 126, 41) |
| HSL | hsl(60, 51%, 33%) |
| HSV | hsv(60, 67%, 49%) |
| CMYK | cmyk(0%, 0%, 67.5%, 50.6%) |
| CIE-LAB | lab(51.29, -11.30, 44.41) |
| CIE-LCH | lch(51.29, 45.82, 104.28°) |
| OKLab | oklab(57.62% -0.0351 0.1001) |
| OKLCH | oklch(57.62% 0.106 109.3) |
| XYZ | xyz(16.4658, 19.5179, 4.9974) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.82
Shit Green
#758000
ΔE00 4.29
Drab
#828344
ΔE00 4.43
Poop Green
#6F7C00
ΔE00 4.77
Olive (survey)
#6E750E
ΔE00 4.81
Murky Green
#6C7A0E
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E29 #29297E
analogous
#7E5329 #7E7E29 #537E29
triadic
#7E7E29 #297E7E #7E297E
tetradic
#7E7E29 #297E53 #29297E #7E2953
square
#7E7E29 #297E53 #29297E #7E2953
split-complementary
#7E7E29 #29537E #53297E
monochromatic
#22220B #50501A #7E7E29 #ACAC38 #C9C959
Accessibility & contrast
On white
4.28
#7E7E29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7E7E29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E29
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E29 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791D
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#87766D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e29; /* rgb */ color: rgb(126, 126, 41); /* oklch */ color: oklch(57.6% 0.106 109.3);
Tailwind
colors: {
custom: {
50: '#a6a368',
500: '#7e7e29',
950: '#000000',
},
}SCSS
$custom: #7e7e29; $custom-light: #a6a368; $custom-dark: #000000;
JSON
{
"hex": "#7e7e29",
"rgb": {
"r": 126,
"g": 126,
"b": 41
},
"hsl": {
"h": 60,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.57617,
"c": 0.10604,
"h": 109.3
},
"luminance": 0.19517
}Semantic roles & 50–950 ramp
primary
#7E7E29
secondary
#5555AE
accent
#4DDA4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A