#7E6F1E#7E6F1E
#7E6F1E is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.099 H 98.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6F1E |
|---|---|
| RGB | rgb(126, 111, 30) |
| HSL | hsl(51, 62%, 31%) |
| HSV | hsv(51, 76%, 49%) |
| CMYK | cmyk(0%, 11.9%, 76.2%, 50.6%) |
| CIE-LAB | lab(46.84, -3.56, 44.56) |
| CIE-LCH | lch(46.84, 44.71, 94.57°) |
| OKLab | oklab(54.06% -0.0144 0.0983) |
| OKLCH | oklch(54.06% 0.099 98.3) |
| XYZ | xyz(14.5237, 15.8990, 3.5318) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.81
Brown Green
#706C11
ΔE00 4.25
Browny Green
#6F6C0A
ΔE00 4.67
Hazel
#8E7618
ΔE00 4.72
Poo
#8F7303
ΔE00 5.54
Muddy Brown
#886806
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6F1E #1E2D7E
analogous
#7E3F1E #7E6F1E #5D7E1E
triadic
#7E6F1E #1E7E6F #6F1E7E
tetradic
#7E6F1E #1E7E3F #1E2D7E #7E1E5D
square
#7E6F1E #1E7E3F #1E2D7E #7E1E5D
split-complementary
#7E6F1E #1E5D7E #3F1E7E
monochromatic
#1B1806 #4D4312 #7E6F1E #AF9B2A #D2BC44
Accessibility & contrast
On white
5.02
#7E6F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7E6F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6F1E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6F1E | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#88665F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7e6f1e; /* rgb */ color: rgb(126, 111, 30); /* oklch */ color: oklch(54.1% 0.099 98.3);
Tailwind
colors: {
custom: {
50: '#a79860',
500: '#7e6f1e',
950: '#000000',
},
}SCSS
$custom: #7e6f1e; $custom-light: #a79860; $custom-dark: #000000;
JSON
{
"hex": "#7e6f1e",
"rgb": {
"r": 126,
"g": 111,
"b": 30
},
"hsl": {
"h": 50.625,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.54055,
"c": 0.09939,
"h": 98.3
},
"luminance": 0.15898
}Semantic roles & 50–950 ramp
primary
#7E6F1E
secondary
#4757B1
accent
#5CE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79