#7E702D#7E702D
#7E702D is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.088 H 97.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E702D |
|---|---|
| RGB | rgb(126, 112, 45) |
| HSL | hsl(50, 47%, 34%) |
| HSV | hsv(50, 64%, 49%) |
| CMYK | cmyk(0%, 11.1%, 64.3%, 50.6%) |
| CIE-LAB | lab(47.25, -3.21, 38.27) |
| CIE-LCH | lch(47.25, 38.40, 94.80°) |
| OKLab | oklab(54.42% -0.0116 0.0877) |
| OKLCH | oklch(54.42% 0.088 97.5) |
| XYZ | xyz(14.8726, 16.2141, 4.8284) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.82
Brown Green
#706C11
ΔE00 5.17
Hazel
#8E7618
ΔE00 5.70
Browny Green
#6F6C0A
ΔE00 5.72
Greenish Brown
#696112
ΔE00 6.66
Poo
#8F7303
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E702D #2D3B7E
analogous
#7E472D #7E702D #637E2D
triadic
#7E702D #2D7E70 #702D7E
tetradic
#7E702D #2D7E47 #2D3B7E #7E2D63
square
#7E702D #2D7E47 #2D3B7E #7E2D63
split-complementary
#7E702D #2D637E #472D7E
monochromatic
#24200D #51481D #7E702D #AB983D #C6B45F
Accessibility & contrast
On white
4.95
#7E702D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7E702D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E702D
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E702D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E702D | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D26
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#886862
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e702d; /* rgb */ color: rgb(126, 112, 45); /* oklch */ color: oklch(54.4% 0.088 97.5);
Tailwind
colors: {
custom: {
50: '#a69869',
500: '#7e702d',
950: '#000000',
},
}SCSS
$custom: #7e702d; $custom-light: #a69869; $custom-dark: #000000;
JSON
{
"hex": "#7e702d",
"rgb": {
"r": 126,
"g": 112,
"b": 45
},
"hsl": {
"h": 49.63,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.54422,
"c": 0.08848,
"h": 97.5
},
"luminance": 0.16213
}Semantic roles & 50–950 ramp
primary
#7E702D
secondary
#5A69AC
accent
#68D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A