#7C7C17#7C7C17
#7C7C17 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.116 H 109.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7C17 |
|---|---|
| RGB | rgb(124, 124, 23) |
| HSL | hsl(60, 69%, 29%) |
| HSV | hsv(60, 81%, 49%) |
| CMYK | cmyk(0%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(50.41, -12.05, 50.27) |
| CIE-LCH | lch(50.41, 51.69, 103.48°) |
| OKLab | oklab(56.84% -0.0388 0.1092) |
| OKLCH | oklch(56.84% 0.116 109.6) |
| XYZ | xyz(15.6751, 18.7627, 3.6063) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.39
Shit Green
#758000
ΔE00 3.27
Poop Green
#6F7C00
ΔE00 3.74
Olive (survey)
#6E750E
ΔE00 3.85
Murky Green
#6C7A0E
ΔE00 4.31
Swamp Green
#748500
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7C17 #17177C
analogous
#7C4A17 #7C7C17 #4A7C17
triadic
#7C7C17 #177C7C #7C177C
tetradic
#7C7C17 #177C4A #17177C #7C174A
square
#7C7C17 #177C4A #17177C #7C174A
split-complementary
#7C7C17 #174A7C #4A177C
monochromatic
#1A1A05 #48480D #7C7C17 #B0B021 #D9D934
Accessibility & contrast
On white
4.42
#7C7C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7C7C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7C17
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7C17 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#85746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c7c17; /* rgb */ color: rgb(124, 124, 23); /* oklch */ color: oklch(56.8% 0.116 109.6);
Tailwind
colors: {
custom: {
50: '#a5a15e',
500: '#7c7c17',
950: '#000000',
},
}SCSS
$custom: #7c7c17; $custom-light: #a5a15e; $custom-dark: #000000;
JSON
{
"hex": "#7c7c17",
"rgb": {
"r": 124,
"g": 124,
"b": 23
},
"hsl": {
"h": 60,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.56836,
"c": 0.11587,
"h": 109.6
},
"luminance": 0.18762
}Semantic roles & 50–950 ramp
primary
#7C7C17
secondary
#3E3EB1
accent
#3CEC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79