#7E6D14#7E6D14
#7E6D14 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.104 H 97.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6D14 |
|---|---|
| RGB | rgb(126, 109, 20) |
| HSL | hsl(50, 73%, 29%) |
| HSV | hsv(50, 84%, 49%) |
| CMYK | cmyk(0%, 13.5%, 84.1%, 50.6%) |
| CIE-LAB | lab(46.21, -2.84, 47.59) |
| CIE-LCH | lch(46.21, 47.68, 93.41°) |
| OKLab | oklab(53.54% -0.0134 0.1027) |
| OKLCH | oklch(53.54% 0.104 97.4) |
| XYZ | xyz(14.1999, 15.4242, 2.8909) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.61
Brown Green
#706C11
ΔE00 4.55
Hazel
#8E7618
ΔE00 4.65
Browny Green
#6F6C0A
ΔE00 4.87
Poo
#8F7303
ΔE00 5.02
Muddy Brown
#886806
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6D14 #14257E
analogous
#7E3814 #7E6D14 #5A7E14
triadic
#7E6D14 #147E6D #6D147E
tetradic
#7E6D14 #147E38 #14257E #7E145A
square
#7E6D14 #147E38 #14257E #7E145A
split-complementary
#7E6D14 #145A7E #38147E
monochromatic
#1A1704 #493F0C #7E6D14 #B39B1C #DEC22E
Accessibility & contrast
On white
5.14
#7E6D14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7E6D14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6D14
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6D14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6D14 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 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)
#7D701B
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e6d14; /* rgb */ color: rgb(126, 109, 20); /* oklch */ color: oklch(53.5% 0.104 97.4);
Tailwind
colors: {
custom: {
50: '#a7965b',
500: '#7e6d14',
950: '#000000',
},
}SCSS
$custom: #7e6d14; $custom-light: #a7965b; $custom-dark: #000000;
JSON
{
"hex": "#7e6d14",
"rgb": {
"r": 126,
"g": 109,
"b": 20
},
"hsl": {
"h": 50.377,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.53536,
"c": 0.10355,
"h": 97.4
},
"luminance": 0.15423
}Semantic roles & 50–950 ramp
primary
#7E6D14
secondary
#3A4EB3
accent
#56EF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79