#7C7E11#7C7E11
#7C7E11 is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.121 H 110.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7E11 |
|---|---|
| RGB | rgb(124, 126, 17) |
| HSL | hsl(61, 76%, 28%) |
| HSV | hsv(61, 87%, 49%) |
| CMYK | cmyk(1.6%, 0%, 86.5%, 50.6%) |
| CIE-LAB | lab(50.98, -13.33, 52.44) |
| CIE-LCH | lch(50.98, 54.11, 104.27°) |
| OKLab | oklab(57.28% -0.0428 0.1127) |
| OKLCH | oklch(57.28% 0.121 110.8) |
| XYZ | xyz(15.8748, 19.2477, 3.4092) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.67
Shit Green
#758000
ΔE00 2.47
Poop Green
#6F7C00
ΔE00 3.37
Swamp Green
#748500
ΔE00 4.21
Murky Green
#6C7A0E
ΔE00 4.22
Olive (survey)
#6E750E
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7E11 #13117E
analogous
#7E4911 #7C7E11 #457E11
triadic
#7C7E11 #117C7E #7E117C
tetradic
#7C7E11 #117E49 #13117E #7E1145
square
#7C7E11 #117E49 #13117E #7E1145
split-complementary
#7C7E11 #11457E #49117E
monochromatic
#1B1B04 #47480A #7C7E11 #B1B418 #DFE227
Accessibility & contrast
On white
4.33
#7C7E11 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7C7E11 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7E11
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7E11 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7E11 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7e11; /* rgb */ color: rgb(124, 126, 17); /* oklch */ color: oklch(57.3% 0.121 110.8);
Tailwind
colors: {
custom: {
50: '#a6a35d',
500: '#7c7e11',
950: '#000000',
},
}SCSS
$custom: #7c7e11; $custom-light: #a6a35d; $custom-dark: #000000;
JSON
{
"hex": "#7c7e11",
"rgb": {
"r": 124,
"g": 126,
"b": 17
},
"hsl": {
"h": 61.101,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.57282,
"c": 0.12059,
"h": 110.8
},
"luminance": 0.19247
}Semantic roles & 50–950 ramp
primary
#7C7E11
secondary
#3937B4
accent
#35F338
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79