#7E6A15#7E6A15
#7E6A15 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.101 H 94.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6A15 |
|---|---|
| RGB | rgb(126, 106, 21) |
| HSL | hsl(49, 71%, 29%) |
| HSV | hsv(49, 83%, 49%) |
| CMYK | cmyk(0%, 15.9%, 83.3%, 50.6%) |
| CIE-LAB | lab(45.36, -1.08, 46.52) |
| CIE-LCH | lch(45.36, 46.53, 91.33°) |
| OKLab | oklab(52.86% -0.0083 0.1006) |
| OKLCH | oklch(52.86% 0.101 94.7) |
| XYZ | xyz(13.8944, 14.7986, 2.8339) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.03
Muddy Brown
#886806
ΔE00 4.08
Hazel
#8E7618
ΔE00 5.20
Poo
#8F7303
ΔE00 5.23
Shit
#7F5F00
ΔE00 5.30
Mud
#735C12
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6A15 #15297E
analogous
#7E3615 #7E6A15 #5E7E15
triadic
#7E6A15 #157E6A #6A157E
tetradic
#7E6A15 #157E36 #15297E #7E155E
square
#7E6A15 #157E36 #15297E #7E155E
split-complementary
#7E6A15 #155E7E #36157E
monochromatic
#1A1604 #4A3E0C #7E6A15 #B2961E #DDBC31
Accessibility & contrast
On white
5.30
#7E6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7E6A15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6A15
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6A15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6A15 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#89615A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e6a15; /* rgb */ color: rgb(126, 106, 21); /* oklch */ color: oklch(52.9% 0.101 94.7);
Tailwind
colors: {
custom: {
50: '#a7945b',
500: '#7e6a15',
950: '#000000',
},
}SCSS
$custom: #7e6a15; $custom-light: #a7945b; $custom-dark: #000000;
JSON
{
"hex": "#7e6a15",
"rgb": {
"r": 126,
"g": 106,
"b": 21
},
"hsl": {
"h": 48.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.52863,
"c": 0.10093,
"h": 94.7
},
"luminance": 0.14798
}Semantic roles & 50–950 ramp
primary
#7E6A15
secondary
#3C52B3
accent
#5CEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79