#7E7516#7E7516
#7E7516 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.109 H 103.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7516 |
|---|---|
| RGB | rgb(126, 117, 22) |
| HSL | hsl(55, 70%, 29%) |
| HSV | hsv(55, 83%, 49%) |
| CMYK | cmyk(0%, 7.1%, 82.5%, 50.6%) |
| CIE-LAB | lab(48.53, -7.29, 48.99) |
| CIE-LCH | lch(48.53, 49.53, 98.46°) |
| OKLab | oklab(55.38% -0.0257 0.1061) |
| OKLCH | oklch(55.38% 0.109 103.6) |
| XYZ | xyz(15.1110, 17.2168, 3.2861) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.00
Brown Green
#706C11
ΔE00 4.18
Browny Green
#6F6C0A
ΔE00 4.33
Olive
#808000
ΔE00 4.91
Olive (survey)
#6E750E
ΔE00 5.02
Hazel
#8E7618
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7516 #161F7E
analogous
#7E4116 #7E7516 #537E16
triadic
#7E7516 #167E75 #75167E
tetradic
#7E7516 #167E41 #161F7E #7E1653
square
#7E7516 #167E41 #161F7E #7E1653
split-complementary
#7E7516 #16537E #41167E
monochromatic
#1A1805 #4A450D #7E7516 #B2A51F #DBCD33
Accessibility & contrast
On white
4.73
#7E7516 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7E7516 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7516
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7516 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7516 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e7516; /* rgb */ color: rgb(126, 117, 22); /* oklch */ color: oklch(55.4% 0.109 103.6);
Tailwind
colors: {
custom: {
50: '#a79c5d',
500: '#7e7516',
950: '#000000',
},
}SCSS
$custom: #7e7516; $custom-light: #a79c5d; $custom-dark: #000000;
JSON
{
"hex": "#7e7516",
"rgb": {
"r": 126,
"g": 117,
"b": 22
},
"hsl": {
"h": 54.808,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.55382,
"c": 0.10921,
"h": 103.6
},
"luminance": 0.17216
}Semantic roles & 50–950 ramp
primary
#7E7516
secondary
#3D47B3
accent
#4AED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79