#7E7D19#7E7D19
#7E7D19 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.115 H 109.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D19 |
|---|---|
| RGB | rgb(126, 125, 25) |
| HSL | hsl(59, 67%, 30%) |
| HSV | hsv(59, 80%, 49%) |
| CMYK | cmyk(0%, 0.8%, 80.2%, 50.6%) |
| CIE-LAB | lab(50.89, -11.59, 50.13) |
| CIE-LCH | lch(50.89, 51.45, 103.01°) |
| OKLab | oklab(57.27% -0.0375 0.1092) |
| OKLCH | oklch(57.27% 0.115 109) |
| XYZ | xyz(16.1139, 19.1736, 3.7716) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.16
Shit Green
#758000
ΔE00 3.48
Poop Green
#6F7C00
ΔE00 4.16
Olive (survey)
#6E750E
ΔE00 4.40
Murky Green
#6C7A0E
ΔE00 4.78
Swamp Green
#748500
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D19 #191A7E
analogous
#7E4B19 #7E7D19 #4D7E19
triadic
#7E7D19 #197E7D #7D197E
tetradic
#7E7D19 #197E4B #191A7E #7E194D
square
#7E7D19 #197E4B #191A7E #7E194D
split-complementary
#7E7D19 #194D7E #4B197E
monochromatic
#1A1905 #4B4A0F #7E7D19 #B1B023 #D8D63A
Accessibility & contrast
On white
4.34
#7E7D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7E7D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D19
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D19 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#88746B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d19; /* rgb */ color: rgb(126, 125, 25); /* oklch */ color: oklch(57.3% 0.115 109.0);
Tailwind
colors: {
custom: {
50: '#a7a260',
500: '#7e7d19',
950: '#000000',
},
}SCSS
$custom: #7e7d19; $custom-light: #a7a260; $custom-dark: #000000;
JSON
{
"hex": "#7e7d19",
"rgb": {
"r": 126,
"g": 125,
"b": 25
},
"hsl": {
"h": 59.406,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.57266,
"c": 0.11544,
"h": 109
},
"luminance": 0.19173
}Semantic roles & 50–950 ramp
primary
#7E7D19
secondary
#4142B2
accent
#40EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79