#7E6D12#7E6D12
#7E6D12 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.104 H 97.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6D12 |
|---|---|
| RGB | rgb(126, 109, 18) |
| HSL | hsl(51, 75%, 28%) |
| HSV | hsv(51, 86%, 49%) |
| CMYK | cmyk(0%, 13.5%, 85.7%, 50.6%) |
| CIE-LAB | lab(46.20, -2.90, 48.20) |
| CIE-LCH | lch(46.20, 48.29, 93.45°) |
| OKLab | oklab(53.53% -0.0138 0.1036) |
| OKLCH | oklch(53.53% 0.104 97.6) |
| XYZ | xyz(14.1828, 15.4173, 2.8010) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.49
Brown Green
#706C11
ΔE00 4.55
Hazel
#8E7618
ΔE00 4.64
Browny Green
#6F6C0A
ΔE00 4.85
Poo
#8F7303
ΔE00 4.97
Muddy Brown
#886806
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6D12 #12237E
analogous
#7E3712 #7E6D12 #597E12
triadic
#7E6D12 #127E6D #6D127E
tetradic
#7E6D12 #127E37 #12237E #7E1259
square
#7E6D12 #127E37 #12237E #7E1259
split-complementary
#7E6D12 #12597E #37127E
monochromatic
#1B1704 #483F0A #7E6D12 #B49B1A #E1C42A
Accessibility & contrast
On white
5.14
#7E6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7E6D12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6D12
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6D12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6D12 | 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)
#7E7019
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e6d12; /* rgb */ color: rgb(126, 109, 18); /* oklch */ color: oklch(53.5% 0.104 97.6);
Tailwind
colors: {
custom: {
50: '#a7965a',
500: '#7e6d12',
950: '#000000',
},
}SCSS
$custom: #7e6d12; $custom-light: #a7965a; $custom-dark: #000000;
JSON
{
"hex": "#7e6d12",
"rgb": {
"r": 126,
"g": 109,
"b": 18
},
"hsl": {
"h": 50.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.53526,
"c": 0.10448,
"h": 97.6
},
"luminance": 0.15417
}Semantic roles & 50–950 ramp
primary
#7E6D12
secondary
#384BB4
accent
#54F236
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79