#7E7D2A#7E7D2A
#7E7D2A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.104 H 108.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D2A |
|---|---|
| RGB | rgb(126, 125, 42) |
| HSL | hsl(59, 50%, 33%) |
| HSV | hsv(59, 67%, 49%) |
| CMYK | cmyk(0%, 0.8%, 66.7%, 50.6%) |
| CIE-LAB | lab(51.00, -10.69, 43.67) |
| CIE-LCH | lch(51.00, 44.96, 103.76°) |
| OKLab | oklab(57.39% -0.0332 0.0987) |
| OKLCH | oklch(57.39% 0.104 108.6) |
| XYZ | xyz(16.3563, 19.2705, 5.0480) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.09
Drab
#828344
ΔE00 4.40
Shit Green
#758000
ΔE00 4.66
Olive (survey)
#6E750E
ΔE00 4.77
Olive Drab
#6F7632
ΔE00 5.01
Poop Green
#6F7C00
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D2A #2A2B7E
analogous
#7E532A #7E7D2A #557E2A
triadic
#7E7D2A #2A7E7D #7D2A7E
tetradic
#7E7D2A #2A7E53 #2A2B7E #7E2A55
square
#7E7D2A #2A7E53 #2A2B7E #7E2A55
split-complementary
#7E7D2A #2A557E #532A7E
monochromatic
#22220B #504F1B #7E7D2A #ACAB39 #C8C75A
Accessibility & contrast
On white
4.33
#7E7D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7E7D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D2A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D2A | 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)
#87781F
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#87756C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d2a; /* rgb */ color: rgb(126, 125, 42); /* oklch */ color: oklch(57.4% 0.104 108.6);
Tailwind
colors: {
custom: {
50: '#a6a268',
500: '#7e7d2a',
950: '#000000',
},
}SCSS
$custom: #7e7d2a; $custom-light: #a6a268; $custom-dark: #000000;
JSON
{
"hex": "#7e7d2a",
"rgb": {
"r": 126,
"g": 125,
"b": 42
},
"hsl": {
"h": 59.286,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.57392,
"c": 0.10413,
"h": 108.6
},
"luminance": 0.1927
}Semantic roles & 50–950 ramp
primary
#7E7D2A
secondary
#5657AE
accent
#50DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A