#7E7712#7E7712
#7E7712 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.113 H 105.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7712 |
|---|---|
| RGB | rgb(126, 119, 18) |
| HSL | hsl(56, 75%, 28%) |
| HSV | hsv(56, 86%, 49%) |
| CMYK | cmyk(0%, 5.6%, 85.7%, 50.6%) |
| CIE-LAB | lab(49.10, -8.54, 50.67) |
| CIE-LCH | lch(49.10, 51.38, 99.57°) |
| OKLab | oklab(55.83% -0.0296 0.1089) |
| OKLCH | oklch(55.83% 0.113 105.2) |
| XYZ | xyz(15.3109, 17.6736, 3.1770) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.62
Olive
#808000
ΔE00 3.91
Olive (survey)
#6E750E
ΔE00 4.63
Brown Green
#706C11
ΔE00 4.68
Browny Green
#6F6C0A
ΔE00 4.72
Brownish Green
#6A6E09
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7712 #12197E
analogous
#7E4112 #7E7712 #4F7E12
triadic
#7E7712 #127E77 #77127E
tetradic
#7E7712 #127E41 #12197E #7E124F
square
#7E7712 #127E41 #12197E #7E124F
split-complementary
#7E7712 #124F7E #41127E
monochromatic
#1B1904 #48440A #7E7712 #B4AA1A #E1D52A
Accessibility & contrast
On white
4.63
#7E7712 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7E7712 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7712
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7712 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85761C
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e7712; /* rgb */ color: rgb(126, 119, 18); /* oklch */ color: oklch(55.8% 0.113 105.2);
Tailwind
colors: {
custom: {
50: '#a79d5c',
500: '#7e7712',
950: '#000000',
},
}SCSS
$custom: #7e7712; $custom-light: #a79d5c; $custom-dark: #000000;
JSON
{
"hex": "#7e7712",
"rgb": {
"r": 126,
"g": 119,
"b": 18
},
"hsl": {
"h": 56.111,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.55827,
"c": 0.11288,
"h": 105.2
},
"luminance": 0.17673
}Semantic roles & 50–950 ramp
primary
#7E7712
secondary
#3840B4
accent
#42F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79