#7E7316#7E7316
#7E7316 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.107 H 102.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7316 |
|---|---|
| RGB | rgb(126, 115, 22) |
| HSL | hsl(54, 70%, 29%) |
| HSV | hsv(54, 83%, 49%) |
| CMYK | cmyk(0%, 8.7%, 82.5%, 50.6%) |
| CIE-LAB | lab(47.95, -6.17, 48.48) |
| CIE-LCH | lch(47.95, 48.87, 97.25°) |
| OKLab | oklab(54.92% -0.0226 0.105) |
| OKLCH | oklch(54.92% 0.107 102.1) |
| XYZ | xyz(14.8805, 16.7557, 3.2093) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.47
Brown Green
#706C11
ΔE00 3.94
Browny Green
#6F6C0A
ΔE00 4.15
Hazel
#8E7618
ΔE00 4.81
Olive (survey)
#6E750E
ΔE00 5.57
Brownish Green
#6A6E09
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7316 #16217E
analogous
#7E3F16 #7E7316 #557E16
triadic
#7E7316 #167E73 #73167E
tetradic
#7E7316 #167E3F #16217E #7E1655
square
#7E7316 #167E3F #16217E #7E1655
split-complementary
#7E7316 #16557E #3F167E
monochromatic
#1A1805 #4A430D #7E7316 #B2A31F #DBCA33
Accessibility & contrast
On white
4.83
#7E7316 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7E7316 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7316
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7316 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7316 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e7316; /* rgb */ color: rgb(126, 115, 22); /* oklch */ color: oklch(54.9% 0.107 102.1);
Tailwind
colors: {
custom: {
50: '#a79a5d',
500: '#7e7316',
950: '#000000',
},
}SCSS
$custom: #7e7316; $custom-light: #a79a5d; $custom-dark: #000000;
JSON
{
"hex": "#7e7316",
"rgb": {
"r": 126,
"g": 115,
"b": 22
},
"hsl": {
"h": 53.654,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.5492,
"c": 0.10743,
"h": 102.1
},
"luminance": 0.16755
}Semantic roles & 50–950 ramp
primary
#7E7316
secondary
#3D49B3
accent
#4EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79