#7E7518#7E7518
#7E7518 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.108 H 103.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7518 |
|---|---|
| RGB | rgb(126, 117, 24) |
| HSL | hsl(55, 68%, 29%) |
| HSV | hsv(55, 81%, 49%) |
| CMYK | cmyk(0%, 7.1%, 81%, 50.6%) |
| CIE-LAB | lab(48.54, -7.21, 48.35) |
| CIE-LCH | lch(48.54, 48.89, 98.48°) |
| OKLab | oklab(55.39% -0.0253 0.1052) |
| OKLCH | oklch(55.39% 0.108 103.6) |
| XYZ | xyz(15.1310, 17.2248, 3.3917) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.11
Brown Green
#706C11
ΔE00 4.16
Browny Green
#6F6C0A
ΔE00 4.33
Olive
#808000
ΔE00 5.00
Olive (survey)
#6E750E
ΔE00 5.02
Hazel
#8E7618
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7518 #18217E
analogous
#7E4218 #7E7518 #547E18
triadic
#7E7518 #187E75 #75187E
tetradic
#7E7518 #187E42 #18217E #7E1854
square
#7E7518 #187E42 #18217E #7E1854
split-complementary
#7E7518 #18547E #42187E
monochromatic
#1A1805 #4B450E #7E7518 #B1A522 #D9CB37
Accessibility & contrast
On white
4.72
#7E7518 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7E7518 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7518
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7518 | 1.00 | 4.72 | 4.44 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e7518; /* rgb */ color: rgb(126, 117, 24); /* oklch */ color: oklch(55.4% 0.108 103.6);
Tailwind
colors: {
custom: {
50: '#a79c5e',
500: '#7e7518',
950: '#000000',
},
}SCSS
$custom: #7e7518; $custom-light: #a79c5e; $custom-dark: #000000;
JSON
{
"hex": "#7e7518",
"rgb": {
"r": 126,
"g": 117,
"b": 24
},
"hsl": {
"h": 54.706,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.55393,
"c": 0.10817,
"h": 103.6
},
"luminance": 0.17224
}Semantic roles & 50–950 ramp
primary
#7E7518
secondary
#3F4AB2
accent
#4CEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79