#7E7D14#7E7D14
#7E7D14 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.118 H 109.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D14 |
|---|---|
| RGB | rgb(126, 125, 20) |
| HSL | hsl(59, 73%, 29%) |
| HSV | hsv(59, 84%, 49%) |
| CMYK | cmyk(0%, 0.8%, 84.1%, 50.6%) |
| CIE-LAB | lab(50.87, -11.77, 51.62) |
| CIE-LCH | lch(50.87, 52.95, 102.84°) |
| OKLab | oklab(57.24% -0.0384 0.1114) |
| OKLCH | oklch(57.24% 0.118 109) |
| XYZ | xyz(16.0647, 19.1539, 3.5125) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.79
Shit Green
#758000
ΔE00 3.36
Poop Green
#6F7C00
ΔE00 4.10
Olive (survey)
#6E750E
ΔE00 4.46
Murky Green
#6C7A0E
ΔE00 4.83
Swamp Green
#748500
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D14 #14157E
analogous
#7E4814 #7E7D14 #4A7E14
triadic
#7E7D14 #147E7D #7D147E
tetradic
#7E7D14 #147E48 #14157E #7E144A
square
#7E7D14 #147E48 #14157E #7E144A
split-complementary
#7E7D14 #144A7E #48147E
monochromatic
#1A1A04 #49490C #7E7D14 #B3B11C #DEDC2E
Accessibility & contrast
On white
4.35
#7E7D14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7E7D14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D14
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D14 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 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)
#897B1E
Tritanopia (blue-blind)
#88746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d14; /* rgb */ color: rgb(126, 125, 20); /* oklch */ color: oklch(57.2% 0.118 109.0);
Tailwind
colors: {
custom: {
50: '#a7a25d',
500: '#7e7d14',
950: '#000000',
},
}SCSS
$custom: #7e7d14; $custom-light: #a7a25d; $custom-dark: #000000;
JSON
{
"hex": "#7e7d14",
"rgb": {
"r": 126,
"g": 125,
"b": 20
},
"hsl": {
"h": 59.434,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.57241,
"c": 0.11783,
"h": 109
},
"luminance": 0.19153
}Semantic roles & 50–950 ramp
primary
#7E7D14
secondary
#3A3CB3
accent
#3AEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79