#7E7D16#7E7D16
#7E7D16 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.117 H 109.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7D16 |
|---|---|
| RGB | rgb(126, 125, 22) |
| HSL | hsl(59, 70%, 29%) |
| HSV | hsv(59, 83%, 49%) |
| CMYK | cmyk(0%, 0.8%, 82.5%, 50.6%) |
| CIE-LAB | lab(50.88, -11.70, 51.05) |
| CIE-LCH | lch(50.88, 52.37, 102.91°) |
| OKLab | oklab(57.25% -0.0381 0.1106) |
| OKLCH | oklch(57.25% 0.117 109) |
| XYZ | xyz(16.0833, 19.1613, 3.6102) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.92
Shit Green
#758000
ΔE00 3.40
Poop Green
#6F7C00
ΔE00 4.12
Olive (survey)
#6E750E
ΔE00 4.43
Murky Green
#6C7A0E
ΔE00 4.81
Swamp Green
#748500
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7D16 #16177E
analogous
#7E4916 #7E7D16 #4B7E16
triadic
#7E7D16 #167E7D #7D167E
tetradic
#7E7D16 #167E49 #16177E #7E164B
square
#7E7D16 #167E49 #16177E #7E164B
split-complementary
#7E7D16 #164B7E #49167E
monochromatic
#1A1A05 #4A490D #7E7D16 #B2B11F #DBDA33
Accessibility & contrast
On white
4.35
#7E7D16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7E7D16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7D16
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7D16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7D16 | 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)
#897B20
Tritanopia (blue-blind)
#88746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7d16; /* rgb */ color: rgb(126, 125, 22); /* oklch */ color: oklch(57.3% 0.117 109.0);
Tailwind
colors: {
custom: {
50: '#a7a25e',
500: '#7e7d16',
950: '#000000',
},
}SCSS
$custom: #7e7d16; $custom-light: #a7a25e; $custom-dark: #000000;
JSON
{
"hex": "#7e7d16",
"rgb": {
"r": 126,
"g": 125,
"b": 22
},
"hsl": {
"h": 59.423,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.5725,
"c": 0.11693,
"h": 109
},
"luminance": 0.19161
}Semantic roles & 50–950 ramp
primary
#7E7D16
secondary
#3D3EB3
accent
#3CED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79