#7E7615#7E7615
#7E7615 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.111 H 104.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7615 |
|---|---|
| RGB | rgb(126, 118, 21) |
| HSL | hsl(55, 71%, 29%) |
| HSV | hsv(55, 83%, 49%) |
| CMYK | cmyk(0%, 6.3%, 83.3%, 50.6%) |
| CIE-LAB | lab(48.82, -7.88, 49.56) |
| CIE-LCH | lch(48.82, 50.18, 99.04°) |
| OKLab | oklab(55.61% -0.0275 0.1071) |
| OKLCH | oklch(55.61% 0.111 104.4) |
| XYZ | xyz(15.2187, 17.4473, 3.2753) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.31
Brown Green
#706C11
ΔE00 4.39
Olive
#808000
ΔE00 4.44
Browny Green
#6F6C0A
ΔE00 4.49
Olive (survey)
#6E750E
ΔE00 4.79
Hazel
#8E7618
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7615 #151D7E
analogous
#7E4215 #7E7615 #527E15
triadic
#7E7615 #157E76 #76157E
tetradic
#7E7615 #157E42 #151D7E #7E1552
square
#7E7615 #157E42 #151D7E #7E1552
split-complementary
#7E7615 #15527E #42157E
monochromatic
#1A1904 #4A450C #7E7615 #B2A71E #DDD031
Accessibility & contrast
On white
4.68
#7E7615 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7E7615 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7615
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7615 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7615 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#886D64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e7615; /* rgb */ color: rgb(126, 118, 21); /* oklch */ color: oklch(55.6% 0.111 104.4);
Tailwind
colors: {
custom: {
50: '#a79d5d',
500: '#7e7615',
950: '#000000',
},
}SCSS
$custom: #7e7615; $custom-light: #a79d5d; $custom-dark: #000000;
JSON
{
"hex": "#7e7615",
"rgb": {
"r": 126,
"g": 118,
"b": 21
},
"hsl": {
"h": 55.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.55609,
"c": 0.11061,
"h": 104.4
},
"luminance": 0.17447
}Semantic roles & 50–950 ramp
primary
#7E7615
secondary
#3C45B3
accent
#47EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79