#7E6D15#7E6D15
#7E6D15 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.103 H 97.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6D15 |
|---|---|
| RGB | rgb(126, 109, 21) |
| HSL | hsl(50, 71%, 29%) |
| HSV | hsv(50, 83%, 49%) |
| CMYK | cmyk(0%, 13.5%, 83.3%, 50.6%) |
| CIE-LAB | lab(46.21, -2.80, 47.27) |
| CIE-LCH | lch(46.21, 47.36, 93.39°) |
| OKLab | oklab(53.54% -0.0132 0.1022) |
| OKLCH | oklch(53.54% 0.103 97.4) |
| XYZ | xyz(14.2089, 15.4278, 2.9388) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.68
Brown Green
#706C11
ΔE00 4.55
Hazel
#8E7618
ΔE00 4.67
Browny Green
#6F6C0A
ΔE00 4.88
Poo
#8F7303
ΔE00 5.06
Muddy Brown
#886806
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6D15 #15267E
analogous
#7E3915 #7E6D15 #5B7E15
triadic
#7E6D15 #157E6D #6D157E
tetradic
#7E6D15 #157E39 #15267E #7E155B
square
#7E6D15 #157E39 #15267E #7E155B
split-complementary
#7E6D15 #155B7E #39157E
monochromatic
#1A1704 #4A400C #7E6D15 #B29A1E #DDC131
Accessibility & contrast
On white
5.14
#7E6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7E6D15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6D15
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6D15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6D15 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e6d15; /* rgb */ color: rgb(126, 109, 21); /* oklch */ color: oklch(53.5% 0.103 97.4);
Tailwind
colors: {
custom: {
50: '#a7965c',
500: '#7e6d15',
950: '#000000',
},
}SCSS
$custom: #7e6d15; $custom-light: #a7965c; $custom-dark: #000000;
JSON
{
"hex": "#7e6d15",
"rgb": {
"r": 126,
"g": 109,
"b": 21
},
"hsl": {
"h": 50.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.53541,
"c": 0.10306,
"h": 97.4
},
"luminance": 0.15427
}Semantic roles & 50–950 ramp
primary
#7E6D15
secondary
#3C4FB3
accent
#57EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79