#7E701A#7E701A
#7E701A is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.103 H 99.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E701A |
|---|---|
| RGB | rgb(126, 112, 26) |
| HSL | hsl(52, 66%, 30%) |
| HSV | hsv(52, 79%, 49%) |
| CMYK | cmyk(0%, 11.1%, 79.4%, 50.6%) |
| CIE-LAB | lab(47.10, -4.31, 46.34) |
| CIE-LCH | lch(47.10, 46.54, 95.32°) |
| OKLab | oklab(54.26% -0.017 0.1013) |
| OKLCH | oklch(54.26% 0.103 99.5) |
| XYZ | xyz(14.5855, 16.0993, 3.3163) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.07
Brown Green
#706C11
ΔE00 4.01
Browny Green
#6F6C0A
ΔE00 4.36
Hazel
#8E7618
ΔE00 4.59
Poo
#8F7303
ΔE00 5.44
Brownish Green
#6A6E09
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E701A #1A287E
analogous
#7E3E1A #7E701A #5A7E1A
triadic
#7E701A #1A7E70 #701A7E
tetradic
#7E701A #1A7E3E #1A287E #7E1A5A
square
#7E701A #1A7E3E #1A287E #7E1A5A
split-complementary
#7E701A #1A5A7E #3E1A7E
monochromatic
#191705 #4B4310 #7E701A #B19D24 #D7C13C
Accessibility & contrast
On white
4.98
#7E701A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7E701A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E701A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E701A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E701A | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e701a; /* rgb */ color: rgb(126, 112, 26); /* oklch */ color: oklch(54.3% 0.103 99.5);
Tailwind
colors: {
custom: {
50: '#a7985e',
500: '#7e701a',
950: '#000000',
},
}SCSS
$custom: #7e701a; $custom-light: #a7985e; $custom-dark: #000000;
JSON
{
"hex": "#7e701a",
"rgb": {
"r": 126,
"g": 112,
"b": 26
},
"hsl": {
"h": 51.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.54255,
"c": 0.10271,
"h": 99.5
},
"luminance": 0.16099
}Semantic roles & 50–950 ramp
primary
#7E701A
secondary
#4251B2
accent
#57E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79