#7E712F#7E712F
#7E712F is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.088 H 98.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E712F |
|---|---|
| RGB | rgb(126, 113, 47) |
| HSL | hsl(50, 46%, 34%) |
| HSV | hsv(50, 63%, 49%) |
| CMYK | cmyk(0%, 10.3%, 62.7%, 50.6%) |
| CIE-LAB | lab(47.56, -3.63, 37.62) |
| CIE-LCH | lch(47.56, 37.80, 95.52°) |
| OKLab | oklab(54.67% -0.0125 0.0866) |
| OKLCH | oklch(54.67% 0.088 98.2) |
| XYZ | xyz(15.0230, 16.4518, 5.0730) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.99
Brown Green
#706C11
ΔE00 5.23
Browny Green
#6F6C0A
ΔE00 5.79
Hazel
#8E7618
ΔE00 5.87
Olive Drab
#6F7632
ΔE00 6.73
Greenish Brown
#696112
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E712F #2F3C7E
analogous
#7E4A2F #7E712F #647E2F
triadic
#7E712F #2F7E71 #712F7E
tetradic
#7E712F #2F7E4A #2F3C7E #7E2F64
square
#7E712F #2F7E4A #2F3C7E #7E2F64
split-complementary
#7E712F #2F647E #4A2F7E
monochromatic
#25210E #51491E #7E712F #AB9940 #C5B563
Accessibility & contrast
On white
4.89
#7E712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7E712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E712F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E712F | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6E28
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#876963
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e712f; /* rgb */ color: rgb(126, 113, 47); /* oklch */ color: oklch(54.7% 0.088 98.2);
Tailwind
colors: {
custom: {
50: '#a6996a',
500: '#7e712f',
950: '#000000',
},
}SCSS
$custom: #7e712f; $custom-light: #a6996a; $custom-dark: #000000;
JSON
{
"hex": "#7e712f",
"rgb": {
"r": 126,
"g": 113,
"b": 47
},
"hsl": {
"h": 50.127,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.54672,
"c": 0.08754,
"h": 98.2
},
"luminance": 0.16451
}Semantic roles & 50–950 ramp
primary
#7E712F
secondary
#5D6AAC
accent
#68D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D07
muted
#7F7E7A