#7E701D#7E701D
#7E701D is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.101 H 99.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E701D |
|---|---|
| RGB | rgb(126, 112, 29) |
| HSL | hsl(51, 63%, 30%) |
| HSV | hsv(51, 77%, 49%) |
| CMYK | cmyk(0%, 11.1%, 77%, 50.6%) |
| CIE-LAB | lab(47.12, -4.18, 45.23) |
| CIE-LCH | lch(47.12, 45.42, 95.28°) |
| OKLab | oklab(54.28% -0.0163 0.0996) |
| OKLCH | oklch(54.28% 0.101 99.3) |
| XYZ | xyz(14.6208, 16.1134, 3.5022) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.43
Brown Green
#706C11
ΔE00 4.06
Browny Green
#6F6C0A
ΔE00 4.45
Hazel
#8E7618
ΔE00 4.66
Poo
#8F7303
ΔE00 5.58
Brownish Green
#6A6E09
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E701D #1D2B7E
analogous
#7E3F1D #7E701D #5B7E1D
triadic
#7E701D #1D7E70 #701D7E
tetradic
#7E701D #1D7E3F #1D2B7E #7E1D5B
square
#7E701D #1D7E3F #1D2B7E #7E1D5B
split-complementary
#7E701D #1D5B7E #3F1D7E
monochromatic
#1B1806 #4C4412 #7E701D #B09C28 #D3BE42
Accessibility & contrast
On white
4.97
#7E701D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7E701D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E701D
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E701D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E701D | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D0E
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e701d; /* rgb */ color: rgb(126, 112, 29); /* oklch */ color: oklch(54.3% 0.101 99.3);
Tailwind
colors: {
custom: {
50: '#a79860',
500: '#7e701d',
950: '#000000',
},
}SCSS
$custom: #7e701d; $custom-light: #a79860; $custom-dark: #000000;
JSON
{
"hex": "#7e701d",
"rgb": {
"r": 126,
"g": 112,
"b": 29
},
"hsl": {
"h": 51.34,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.54276,
"c": 0.10087,
"h": 99.3
},
"luminance": 0.16113
}Semantic roles & 50–950 ramp
primary
#7E701D
secondary
#4555B1
accent
#5AE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79