#7E7E17#7E7E17
#7E7E17 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.117 H 109.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E17 |
|---|---|
| RGB | rgb(126, 126, 23) |
| HSL | hsl(60, 69%, 29%) |
| HSV | hsv(60, 82%, 49%) |
| CMYK | cmyk(0%, 0%, 81.7%, 50.6%) |
| CIE-LAB | lab(51.17, -12.21, 51.01) |
| CIE-LCH | lch(51.17, 52.45, 103.46°) |
| OKLab | oklab(57.49% -0.0394 0.1107) |
| OKLCH | oklch(57.49% 0.117 109.6) |
| XYZ | xyz(16.2203, 19.4197, 3.7044) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.80
Shit Green
#758000
ΔE00 3.12
Poop Green
#6F7C00
ΔE00 3.98
Olive (survey)
#6E750E
ΔE00 4.55
Murky Green
#6C7A0E
ΔE00 4.71
Swamp Green
#748500
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E17 #17177E
analogous
#7E4B17 #7E7E17 #4B7E17
triadic
#7E7E17 #177E7E #7E177E
tetradic
#7E7E17 #177E4B #17177E #7E174B
square
#7E7E17 #177E4B #17177E #7E174B
split-complementary
#7E7E17 #174B7E #4B177E
monochromatic
#1A1A05 #4A4A0E #7E7E17 #B2B220 #DADA35
Accessibility & contrast
On white
4.30
#7E7E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7E7E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E17
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E17 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e17; /* rgb */ color: rgb(126, 126, 23); /* oklch */ color: oklch(57.5% 0.117 109.6);
Tailwind
colors: {
custom: {
50: '#a7a35f',
500: '#7e7e17',
950: '#000000',
},
}SCSS
$custom: #7e7e17; $custom-light: #a7a35f; $custom-dark: #000000;
JSON
{
"hex": "#7e7e17",
"rgb": {
"r": 126,
"g": 126,
"b": 23
},
"hsl": {
"h": 60,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.57491,
"c": 0.11747,
"h": 109.6
},
"luminance": 0.19419
}Semantic roles & 50–950 ramp
primary
#7E7E17
secondary
#3E3EB3
accent
#3CEC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79