#7C7C11#7C7C11
#7C7C11 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.119 H 109.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7C11 |
|---|---|
| RGB | rgb(124, 124, 17) |
| HSL | hsl(60, 76%, 28%) |
| HSV | hsv(60, 86%, 49%) |
| CMYK | cmyk(0%, 0%, 86.3%, 51.4%) |
| CIE-LAB | lab(50.38, -12.25, 51.94) |
| CIE-LCH | lch(50.38, 53.37, 103.27°) |
| OKLab | oklab(56.81% -0.0398 0.1116) |
| OKLCH | oklch(56.81% 0.119 109.6) |
| XYZ | xyz(15.6216, 18.7414, 3.3248) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.02
Shit Green
#758000
ΔE00 3.13
Poop Green
#6F7C00
ΔE00 3.68
Olive (survey)
#6E750E
ΔE00 3.93
Murky Green
#6C7A0E
ΔE00 4.39
Swamp Green
#748500
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7C11 #11117C
analogous
#7C4611 #7C7C11 #467C11
triadic
#7C7C11 #117C7C #7C117C
tetradic
#7C7C11 #117C46 #11117C #7C1146
square
#7C7C11 #117C46 #11117C #7C1146
split-complementary
#7C7C11 #11467C #46117C
monochromatic
#1B1B04 #46460A #7C7C11 #B2B218 #E1E126
Accessibility & contrast
On white
4.42
#7C7C11 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7C7C11 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7C11
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7C11 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7C11 | 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)
#88791C
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c7c11; /* rgb */ color: rgb(124, 124, 17); /* oklch */ color: oklch(56.8% 0.119 109.6);
Tailwind
colors: {
custom: {
50: '#a6a15c',
500: '#7c7c11',
950: '#000000',
},
}SCSS
$custom: #7c7c11; $custom-light: #a6a15c; $custom-dark: #000000;
JSON
{
"hex": "#7c7c11",
"rgb": {
"r": 124,
"g": 124,
"b": 17
},
"hsl": {
"h": 60,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.56808,
"c": 0.11853,
"h": 109.6
},
"luminance": 0.18741
}Semantic roles & 50–950 ramp
primary
#7C7C11
secondary
#3737B2
accent
#35F235
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79