#7E6D18#7E6D18
#7E6D18 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.6% C 0.101 H 97.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6D18 |
|---|---|
| RGB | rgb(126, 109, 24) |
| HSL | hsl(50, 68%, 29%) |
| HSV | hsv(50, 81%, 49%) |
| CMYK | cmyk(0%, 13.5%, 81%, 50.6%) |
| CIE-LAB | lab(46.23, -2.69, 46.26) |
| CIE-LCH | lch(46.23, 46.34, 93.32°) |
| OKLab | oklab(53.56% -0.0126 0.1007) |
| OKLCH | oklch(53.56% 0.101 97.1) |
| XYZ | xyz(14.2384, 15.4396, 3.0941) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.90
Brown Green
#706C11
ΔE00 4.58
Hazel
#8E7618
ΔE00 4.71
Browny Green
#6F6C0A
ΔE00 4.94
Poo
#8F7303
ΔE00 5.17
Muddy Brown
#886806
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6D18 #18297E
analogous
#7E3A18 #7E6D18 #5C7E18
triadic
#7E6D18 #187E6D #6D187E
tetradic
#7E6D18 #187E3A #18297E #7E185C
square
#7E6D18 #187E3A #18297E #7E185C
split-complementary
#7E6D18 #185C7E #3A187E
monochromatic
#1A1605 #4B410E #7E6D18 #B19922 #D9BE37
Accessibility & contrast
On white
5.14
#7E6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7E6D18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6D18
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6D18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6D18 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e6d18; /* rgb */ color: rgb(126, 109, 24); /* oklch */ color: oklch(53.6% 0.101 97.1);
Tailwind
colors: {
custom: {
50: '#a7965d',
500: '#7e6d18',
950: '#000000',
},
}SCSS
$custom: #7e6d18; $custom-light: #a7965d; $custom-dark: #000000;
JSON
{
"hex": "#7e6d18",
"rgb": {
"r": 126,
"g": 109,
"b": 24
},
"hsl": {
"h": 50,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.53559,
"c": 0.10147,
"h": 97.1
},
"luminance": 0.15439
}Semantic roles & 50–950 ramp
primary
#7E6D18
secondary
#3F53B2
accent
#5AEB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79