#7E7E2A#7E7E2A
#7E7E2A is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.105 H 109.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E2A |
|---|---|
| RGB | rgb(126, 126, 42) |
| HSL | hsl(60, 50%, 33%) |
| HSV | hsv(60, 67%, 49%) |
| CMYK | cmyk(0%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(51.30, -11.24, 43.98) |
| CIE-LCH | lch(51.30, 45.39, 104.33°) |
| OKLab | oklab(57.63% -0.0348 0.0993) |
| OKLCH | oklch(57.63% 0.105 109.3) |
| XYZ | xyz(16.4835, 19.5250, 5.0904) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.96
Drab
#828344
ΔE00 4.30
Shit Green
#758000
ΔE00 4.40
Poop Green
#6F7C00
ΔE00 4.86
Olive (survey)
#6E750E
ΔE00 4.87
Murky Green
#6C7A0E
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E2A #2A2A7E
analogous
#7E542A #7E7E2A #547E2A
triadic
#7E7E2A #2A7E7E #7E2A7E
tetradic
#7E7E2A #2A7E54 #2A2A7E #7E2A54
square
#7E7E2A #2A7E54 #2A2A7E #7E2A54
split-complementary
#7E7E2A #2A547E #542A7E
monochromatic
#22220B #50501B #7E7E2A #ACAC39 #C8C85A
Accessibility & contrast
On white
4.28
#7E7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7E7E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E2A
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E2A | 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)
#88791F
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#87766D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e2a; /* rgb */ color: rgb(126, 126, 42); /* oklch */ color: oklch(57.6% 0.105 109.3);
Tailwind
colors: {
custom: {
50: '#a6a368',
500: '#7e7e2a',
950: '#000000',
},
}SCSS
$custom: #7e7e2a; $custom-light: #a6a368; $custom-dark: #000000;
JSON
{
"hex": "#7e7e2a",
"rgb": {
"r": 126,
"g": 126,
"b": 42
},
"hsl": {
"h": 60,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.57626,
"c": 0.10525,
"h": 109.3
},
"luminance": 0.19524
}Semantic roles & 50–950 ramp
primary
#7E7E2A
secondary
#5656AE
accent
#4EDA4E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A