#7E7716#7E7716
#7E7716 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.111 H 105.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7716 |
|---|---|
| RGB | rgb(126, 119, 22) |
| HSL | hsl(56, 70%, 29%) |
| HSV | hsv(56, 83%, 49%) |
| CMYK | cmyk(0%, 5.6%, 82.5%, 50.6%) |
| CIE-LAB | lab(49.12, -8.40, 49.51) |
| CIE-LCH | lch(49.12, 50.22, 99.63°) |
| OKLab | oklab(55.85% -0.0289 0.1072) |
| OKLCH | oklch(55.85% 0.111 105.1) |
| XYZ | xyz(15.3465, 17.6878, 3.3646) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.74
Olive
#808000
ΔE00 4.06
Olive (survey)
#6E750E
ΔE00 4.60
Brown Green
#706C11
ΔE00 4.61
Browny Green
#6F6C0A
ΔE00 4.69
Brownish Green
#6A6E09
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7716 #161D7E
analogous
#7E4316 #7E7716 #517E16
triadic
#7E7716 #167E77 #77167E
tetradic
#7E7716 #167E43 #161D7E #7E1651
square
#7E7716 #167E43 #161D7E #7E1651
split-complementary
#7E7716 #16517E #43167E
monochromatic
#1A1905 #4A460D #7E7716 #B2A81F #DBD033
Accessibility & contrast
On white
4.63
#7E7716 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7E7716 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7716
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7716 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7716 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e7716; /* rgb */ color: rgb(126, 119, 22); /* oklch */ color: oklch(55.8% 0.111 105.1);
Tailwind
colors: {
custom: {
50: '#a79d5d',
500: '#7e7716',
950: '#000000',
},
}SCSS
$custom: #7e7716; $custom-light: #a79d5d; $custom-dark: #000000;
JSON
{
"hex": "#7e7716",
"rgb": {
"r": 126,
"g": 119,
"b": 22
},
"hsl": {
"h": 55.962,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.55847,
"c": 0.11106,
"h": 105.1
},
"luminance": 0.17687
}Semantic roles & 50–950 ramp
primary
#7E7716
secondary
#3D45B3
accent
#47ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79