#7E701F#7E701F
#7E701F is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.100 H 99.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E701F |
|---|---|
| RGB | rgb(126, 112, 31) |
| HSL | hsl(51, 61%, 31%) |
| HSV | hsv(51, 75%, 49%) |
| CMYK | cmyk(0%, 11.1%, 75.4%, 50.6%) |
| CIE-LAB | lab(47.14, -4.08, 44.45) |
| CIE-LCH | lch(47.14, 44.63, 95.24°) |
| OKLab | oklab(54.29% -0.0158 0.0983) |
| OKLCH | oklch(54.29% 0.1 99.1) |
| XYZ | xyz(14.6464, 16.1236, 3.6368) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.68
Brown Green
#706C11
ΔE00 4.12
Browny Green
#6F6C0A
ΔE00 4.54
Hazel
#8E7618
ΔE00 4.73
Poo
#8F7303
ΔE00 5.68
Brownish Green
#6A6E09
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E701F #1F2D7E
analogous
#7E401F #7E701F #5C7E1F
triadic
#7E701F #1F7E70 #701F7E
tetradic
#7E701F #1F7E40 #1F2D7E #7E1F5C
square
#7E701F #1F7E40 #1F2D7E #7E1F5C
split-complementary
#7E701F #1F5C7E #401F7E
monochromatic
#1C1907 #4D4413 #7E701F #AF9C2B #D1BD46
Accessibility & contrast
On white
4.97
#7E701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7E701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E701F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E701F | 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)
#7B6D11
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e701f; /* rgb */ color: rgb(126, 112, 31); /* oklch */ color: oklch(54.3% 0.100 99.1);
Tailwind
colors: {
custom: {
50: '#a79861',
500: '#7e701f',
950: '#000000',
},
}SCSS
$custom: #7e701f; $custom-light: #a79861; $custom-dark: #000000;
JSON
{
"hex": "#7e701f",
"rgb": {
"r": 126,
"g": 112,
"b": 31
},
"hsl": {
"h": 51.158,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.5429,
"c": 0.09956,
"h": 99.1
},
"luminance": 0.16123
}Semantic roles & 50–950 ramp
primary
#7E701F
secondary
#4857B1
accent
#5CE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79