#7E6E1B#7E6E1B
#7E6E1B is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.101 H 97.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6E1B |
|---|---|
| RGB | rgb(126, 110, 27) |
| HSL | hsl(50, 65%, 30%) |
| HSV | hsv(50, 79%, 49%) |
| CMYK | cmyk(0%, 12.7%, 78.6%, 50.6%) |
| CIE-LAB | lab(46.54, -3.13, 45.44) |
| CIE-LCH | lch(46.54, 45.55, 93.94°) |
| OKLab | oklab(53.81% -0.0135 0.0996) |
| OKLCH | oklch(53.81% 0.101 97.7) |
| XYZ | xyz(14.3787, 15.6674, 3.3034) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.80
Brown Green
#706C11
ΔE00 4.38
Hazel
#8E7618
ΔE00 4.68
Browny Green
#6F6C0A
ΔE00 4.78
Poo
#8F7303
ΔE00 5.33
Muddy Brown
#886806
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6E1B #1B2B7E
analogous
#7E3C1B #7E6E1B #5D7E1B
triadic
#7E6E1B #1B7E6E #6E1B7E
tetradic
#7E6E1B #1B7E3C #1B2B7E #7E1B5D
square
#7E6E1B #1B7E3C #1B2B7E #7E1B5D
split-complementary
#7E6E1B #1B5D7E #3C1B7E
monochromatic
#191605 #4C4210 #7E6E1B #B09A26 #D6BD3E
Accessibility & contrast
On white
5.08
#7E6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7E6E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E6E1B
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E6E1B | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#88655E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e6e1b; /* rgb */ color: rgb(126, 110, 27); /* oklch */ color: oklch(53.8% 0.101 97.7);
Tailwind
colors: {
custom: {
50: '#a7975e',
500: '#7e6e1b',
950: '#000000',
},
}SCSS
$custom: #7e6e1b; $custom-light: #a7975e; $custom-dark: #000000;
JSON
{
"hex": "#7e6e1b",
"rgb": {
"r": 126,
"g": 110,
"b": 27
},
"hsl": {
"h": 50.303,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.53806,
"c": 0.1005,
"h": 97.7
},
"luminance": 0.15667
}Semantic roles & 50–950 ramp
primary
#7E6E1B
secondary
#4355B2
accent
#5BE840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79