#7E7310#7E7310
#7E7310 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.110 H 102.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7310 |
|---|---|
| RGB | rgb(126, 115, 16) |
| HSL | hsl(54, 77%, 28%) |
| HSV | hsv(54, 87%, 49%) |
| CMYK | cmyk(0%, 8.7%, 87.3%, 50.6%) |
| CIE-LAB | lab(47.92, -6.37, 50.22) |
| CIE-LCH | lch(47.92, 50.62, 97.22°) |
| OKLab | oklab(54.89% -0.0236 0.1076) |
| OKLCH | oklch(54.89% 0.11 102.4) |
| XYZ | xyz(14.8292, 16.7352, 2.9392) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.05
Brown Green
#706C11
ΔE00 4.04
Browny Green
#6F6C0A
ΔE00 4.17
Hazel
#8E7618
ΔE00 4.82
Olive (survey)
#6E750E
ΔE00 5.59
Brownish Green
#6A6E09
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7310 #101B7E
analogous
#7E3C10 #7E7310 #527E10
triadic
#7E7310 #107E73 #73107E
tetradic
#7E7310 #107E3C #101B7E #7E1052
square
#7E7310 #107E3C #101B7E #7E1052
split-complementary
#7E7310 #10527E #3C107E
monochromatic
#1B1903 #484109 #7E7310 #B4A517 #E3D025
Accessibility & contrast
On white
4.83
#7E7310 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7E7310 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7310
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7310 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#827419
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e7310; /* rgb */ color: rgb(126, 115, 16); /* oklch */ color: oklch(54.9% 0.110 102.4);
Tailwind
colors: {
custom: {
50: '#a79a5a',
500: '#7e7310',
950: '#000000',
},
}SCSS
$custom: #7e7310; $custom-light: #a79a5a; $custom-dark: #000000;
JSON
{
"hex": "#7e7310",
"rgb": {
"r": 126,
"g": 115,
"b": 16
},
"hsl": {
"h": 54,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.54891,
"c": 0.11014,
"h": 102.4
},
"luminance": 0.16734
}Semantic roles & 50–950 ramp
primary
#7E7310
secondary
#3642B4
accent
#47F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79