#7C7A17#7C7A17
#7C7A17 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.114 H 108.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7A17 |
|---|---|
| RGB | rgb(124, 122, 23) |
| HSL | hsl(59, 69%, 29%) |
| HSV | hsv(59, 81%, 49%) |
| CMYK | cmyk(0%, 1.6%, 81.5%, 51.4%) |
| CIE-LAB | lab(49.82, -10.96, 49.74) |
| CIE-LCH | lch(49.82, 50.94, 102.42°) |
| OKLab | oklab(56.36% -0.0358 0.108) |
| OKLCH | oklch(56.36% 0.114 108.3) |
| XYZ | xyz(15.4270, 18.2665, 3.5236) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.93
Olive (survey)
#6E750E
ΔE00 3.73
Shit Green
#758000
ΔE00 4.01
Poop Green
#6F7C00
ΔE00 4.23
Ugly Brown
#7D7103
ΔE00 4.34
Murky Green
#6C7A0E
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7A17 #17197C
analogous
#7C4817 #7C7A17 #4C7C17
triadic
#7C7A17 #177C7A #7A177C
tetradic
#7C7A17 #177C48 #17197C #7C174C
square
#7C7A17 #177C48 #17197C #7C174C
split-complementary
#7C7A17 #174C7C #48177C
monochromatic
#1A1905 #48470D #7C7A17 #B0AD21 #D9D634
Accessibility & contrast
On white
4.51
#7C7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7C7A17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7A17
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7A17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7A17 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c7a17; /* rgb */ color: rgb(124, 122, 23); /* oklch */ color: oklch(56.4% 0.114 108.3);
Tailwind
colors: {
custom: {
50: '#a5a05e',
500: '#7c7a17',
950: '#000000',
},
}SCSS
$custom: #7c7a17; $custom-light: #a5a05e; $custom-dark: #000000;
JSON
{
"hex": "#7c7a17",
"rgb": {
"r": 124,
"g": 122,
"b": 23
},
"hsl": {
"h": 58.812,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.56364,
"c": 0.11382,
"h": 108.3
},
"luminance": 0.18266
}Semantic roles & 50–950 ramp
primary
#7C7A17
secondary
#3E40B1
accent
#40EC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79