#7E6A12#7E6A12
#7E6A12 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.8% C 0.102 H 95.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6A12 |
|---|---|
| RGB | rgb(126, 106, 18) |
| HSL | hsl(49, 75%, 28%) |
| HSV | hsv(49, 86%, 49%) |
| CMYK | cmyk(0%, 15.9%, 85.7%, 50.6%) |
| CIE-LAB | lab(45.34, -1.18, 47.47) |
| CIE-LCH | lch(45.34, 47.48, 91.43°) |
| OKLab | oklab(52.85% -0.0089 0.102) |
| OKLCH | oklch(52.85% 0.102 95) |
| XYZ | xyz(13.8682, 14.7882, 2.6961) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.87
Muddy Brown
#886806
ΔE00 4.05
Poo
#8F7303
ΔE00 5.12
Hazel
#8E7618
ΔE00 5.15
Shit
#7F5F00
ΔE00 5.31
Mud
#735C12
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6A12 #12267E
analogous
#7E3412 #7E6A12 #5C7E12
triadic
#7E6A12 #127E6A #6A127E
tetradic
#7E6A12 #127E34 #12267E #7E125C
square
#7E6A12 #127E34 #12267E #7E125C
split-complementary
#7E6A12 #125C7E #34127E
monochromatic
#1B1704 #483D0A #7E6A12 #B4971A #E1BF2A
Accessibility & contrast
On white
5.31
#7E6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7E6A12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6A12
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6A12 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#7B6E19
Tritanopia (blue-blind)
#89615A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e6a12; /* rgb */ color: rgb(126, 106, 18); /* oklch */ color: oklch(52.8% 0.102 95.0);
Tailwind
colors: {
custom: {
50: '#a7945a',
500: '#7e6a12',
950: '#000000',
},
}SCSS
$custom: #7e6a12; $custom-light: #a7945a; $custom-dark: #000000;
JSON
{
"hex": "#7e6a12",
"rgb": {
"r": 126,
"g": 106,
"b": 18
},
"hsl": {
"h": 48.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.52847,
"c": 0.10236,
"h": 95
},
"luminance": 0.14787
}Semantic roles & 50–950 ramp
primary
#7E6A12
secondary
#384FB4
accent
#59F236
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79