#7E7611#7E7611
#7E7611 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.112 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7611 |
|---|---|
| RGB | rgb(126, 118, 17) |
| HSL | hsl(56, 76%, 28%) |
| HSV | hsv(56, 87%, 49%) |
| CMYK | cmyk(0%, 6.3%, 86.5%, 50.6%) |
| CIE-LAB | lab(48.80, -8.01, 50.69) |
| CIE-LCH | lch(48.80, 51.32, 98.98°) |
| OKLab | oklab(55.59% -0.0282 0.1088) |
| OKLCH | oklch(55.59% 0.112 104.5) |
| XYZ | xyz(15.1845, 17.4336, 3.0954) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.19
Olive
#808000
ΔE00 4.31
Brown Green
#706C11
ΔE00 4.47
Browny Green
#6F6C0A
ΔE00 4.53
Olive (survey)
#6E750E
ΔE00 4.83
Hazel
#8E7618
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7611 #11197E
analogous
#7E3F11 #7E7611 #507E11
triadic
#7E7611 #117E76 #76117E
tetradic
#7E7611 #117E3F #11197E #7E1150
square
#7E7611 #117E3F #11197E #7E1150
split-complementary
#7E7611 #11507E #3F117E
monochromatic
#1B1904 #48430A #7E7611 #B4A818 #E2D427
Accessibility & contrast
On white
4.68
#7E7611 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7E7611 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7611
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7611 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7611 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761B
Tritanopia (blue-blind)
#886D64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e7611; /* rgb */ color: rgb(126, 118, 17); /* oklch */ color: oklch(55.6% 0.112 104.5);
Tailwind
colors: {
custom: {
50: '#a79d5b',
500: '#7e7611',
950: '#000000',
},
}SCSS
$custom: #7e7611; $custom-light: #a79d5b; $custom-dark: #000000;
JSON
{
"hex": "#7e7611",
"rgb": {
"r": 126,
"g": 118,
"b": 17
},
"hsl": {
"h": 55.596,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.5559,
"c": 0.11238,
"h": 104.5
},
"luminance": 0.17433
}Semantic roles & 50–950 ramp
primary
#7E7611
secondary
#3740B4
accent
#43F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79