#778518#778518
#778518 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.127 H 117.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #778518 |
|---|---|
| RGB | rgb(119, 133, 24) |
| HSL | hsl(68, 69%, 31%) |
| HSV | hsv(68, 82%, 52%) |
| CMYK | cmyk(10.5%, 0%, 82%, 47.8%) |
| CIE-LAB | lab(52.69, -19.08, 51.83) |
| CIE-LCH | lch(52.69, 55.23, 110.21°) |
| OKLab | oklab(58.56% -0.0579 0.1129) |
| OKLCH | oklch(58.56% 0.127 117.2) |
| XYZ | xyz(16.1606, 20.7631, 4.0203) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.47
Shit Green
#758000
ΔE00 2.33
Poop Green
#6F7C00
ΔE00 3.54
Murky Green
#6C7A0E
ΔE00 4.27
Dark Yellow Green
#728F02
ΔE00 4.35
Olive
#808000
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778518 #261885
analogous
#855C18 #778518 #418518
triadic
#778518 #187785 #851877
tetradic
#778518 #18855C #261885 #851841
square
#778518 #18855C #261885 #851841
split-complementary
#778518 #184185 #5C1885
monochromatic
#1A1D05 #49510F #778518 #A5B921 #C7DC3C
Accessibility & contrast
On white
4.08
#778518 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#778518 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778518
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778518 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778518 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#7F7D71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #778518; /* rgb */ color: rgb(119, 133, 24); /* oklch */ color: oklch(58.6% 0.127 117.2);
Tailwind
colors: {
custom: {
50: '#a2a860',
500: '#778518',
950: '#000000',
},
}SCSS
$custom: #778518; $custom-light: #a2a860; $custom-dark: #000000;
JSON
{
"hex": "#778518",
"rgb": {
"r": 119,
"g": 133,
"b": 24
},
"hsl": {
"h": 67.706,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.58564,
"c": 0.1269,
"h": 117.2
},
"luminance": 0.20763
}Semantic roles & 50–950 ramp
primary
#778518
secondary
#4F40B9
accent
#3CEC52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A