#7E7D1A#7E7D1A
#7E7D1A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.115 H 108.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D1A |
|---|---|
| RGB | rgb(126, 125, 26) |
| HSL | hsl(59, 66%, 30%) |
| HSV | hsv(59, 79%, 49%) |
| CMYK | cmyk(0%, 0.8%, 79.4%, 50.6%) |
| CIE-LAB | lab(50.89, -11.55, 49.81) |
| CIE-LCH | lch(50.89, 51.13, 103.05°) |
| OKLab | oklab(57.27% -0.0373 0.1087) |
| OKLCH | oklch(57.27% 0.115 108.9) |
| XYZ | xyz(16.1249, 19.1779, 3.8294) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.25
Shit Green
#758000
ΔE00 3.52
Poop Green
#6F7C00
ΔE00 4.18
Olive (survey)
#6E750E
ΔE00 4.39
Murky Green
#6C7A0E
ΔE00 4.77
Swamp Green
#748500
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D1A #1A1B7E
analogous
#7E4B1A #7E7D1A #4D7E1A
triadic
#7E7D1A #1A7E7D #7D1A7E
tetradic
#7E7D1A #1A7E4B #1A1B7E #7E1A4D
square
#7E7D1A #1A7E4B #1A1B7E #7E1A4D
split-complementary
#7E7D1A #1A4D7E #4B1A7E
monochromatic
#191905 #4B4B10 #7E7D1A #B1AF24 #D7D53C
Accessibility & contrast
On white
4.34
#7E7D1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7E7D1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D1A
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D1A | 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)
#887801
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#88746B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d1a; /* rgb */ color: rgb(126, 125, 26); /* oklch */ color: oklch(57.3% 0.115 108.9);
Tailwind
colors: {
custom: {
50: '#a7a260',
500: '#7e7d1a',
950: '#000000',
},
}SCSS
$custom: #7e7d1a; $custom-light: #a7a260; $custom-dark: #000000;
JSON
{
"hex": "#7e7d1a",
"rgb": {
"r": 126,
"g": 125,
"b": 26
},
"hsl": {
"h": 59.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.57272,
"c": 0.11491,
"h": 108.9
},
"luminance": 0.19177
}Semantic roles & 50–950 ramp
primary
#7E7D1A
secondary
#4243B2
accent
#41E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79