#7E6E14#7E6E14
#7E6E14 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.104 H 98.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6E14 |
|---|---|
| RGB | rgb(126, 110, 20) |
| HSL | hsl(51, 73%, 29%) |
| HSV | hsv(51, 84%, 49%) |
| CMYK | cmyk(0%, 12.7%, 84.1%, 50.6%) |
| CIE-LAB | lab(46.50, -3.41, 47.84) |
| CIE-LCH | lch(46.50, 47.96, 94.07°) |
| OKLab | oklab(53.76% -0.015 0.1032) |
| OKLCH | oklch(53.76% 0.104 98.3) |
| XYZ | xyz(14.3071, 15.6387, 2.9267) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.19
Brown Green
#706C11
ΔE00 4.32
Hazel
#8E7618
ΔE00 4.57
Browny Green
#6F6C0A
ΔE00 4.63
Poo
#8F7303
ΔE00 5.06
Muddy Brown
#886806
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6E14 #14247E
analogous
#7E3914 #7E6E14 #597E14
triadic
#7E6E14 #147E6E #6E147E
tetradic
#7E6E14 #147E39 #14247E #7E1459
square
#7E6E14 #147E39 #14247E #7E1459
split-complementary
#7E6E14 #14597E #39147E
monochromatic
#1A1704 #49400C #7E6E14 #B39C1C #DEC32E
Accessibility & contrast
On white
5.09
#7E6E14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7E6E14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6E14
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6E14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6E14 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7E711B
Tritanopia (blue-blind)
#89655E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e6e14; /* rgb */ color: rgb(126, 110, 20); /* oklch */ color: oklch(53.8% 0.104 98.3);
Tailwind
colors: {
custom: {
50: '#a7975b',
500: '#7e6e14',
950: '#000000',
},
}SCSS
$custom: #7e6e14; $custom-light: #a7975b; $custom-dark: #000000;
JSON
{
"hex": "#7e6e14",
"rgb": {
"r": 126,
"g": 110,
"b": 20
},
"hsl": {
"h": 50.943,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.53763,
"c": 0.10431,
"h": 98.3
},
"luminance": 0.15638
}Semantic roles & 50–950 ramp
primary
#7E6E14
secondary
#3A4DB3
accent
#54EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79