#7E7917#7E7917
#7E7917 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.112 H 106.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7917 |
|---|---|
| RGB | rgb(126, 121, 23) |
| HSL | hsl(57, 69%, 29%) |
| HSV | hsv(57, 82%, 49%) |
| CMYK | cmyk(0%, 4%, 81.7%, 50.6%) |
| CIE-LAB | lab(49.70, -9.47, 49.71) |
| CIE-LCH | lch(49.70, 50.61, 100.79°) |
| OKLab | oklab(56.32% -0.0318 0.1079) |
| OKLCH | oklch(56.32% 0.112 106.4) |
| XYZ | xyz(15.5969, 18.1728, 3.4966) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.30
Ugly Brown
#7D7103
ΔE00 3.58
Olive (survey)
#6E750E
ΔE00 4.34
Shit Green
#758000
ΔE00 4.88
Poop Green
#6F7C00
ΔE00 5.12
Brown Green
#706C11
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7917 #171C7E
analogous
#7E4617 #7E7917 #507E17
triadic
#7E7917 #177E79 #79177E
tetradic
#7E7917 #177E46 #171C7E #7E1750
square
#7E7917 #177E46 #171C7E #7E1750
split-complementary
#7E7917 #17507E #46177E
monochromatic
#1A1905 #4A470E #7E7917 #B2AB20 #DAD235
Accessibility & contrast
On white
4.53
#7E7917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7E7917 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7917
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7917 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7917 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#887067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7e7917; /* rgb */ color: rgb(126, 121, 23); /* oklch */ color: oklch(56.3% 0.112 106.4);
Tailwind
colors: {
custom: {
50: '#a79f5e',
500: '#7e7917',
950: '#000000',
},
}SCSS
$custom: #7e7917; $custom-light: #a79f5e; $custom-dark: #000000;
JSON
{
"hex": "#7e7917",
"rgb": {
"r": 126,
"g": 121,
"b": 23
},
"hsl": {
"h": 57.087,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.56318,
"c": 0.11246,
"h": 106.4
},
"luminance": 0.18172
}Semantic roles & 50–950 ramp
primary
#7E7917
secondary
#3E44B3
accent
#44EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79