#778018#778018
#778018 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.121 H 114.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #778018 |
|---|---|
| RGB | rgb(119, 128, 24) |
| HSL | hsl(65, 68%, 30%) |
| HSV | hsv(65, 81%, 50%) |
| CMYK | cmyk(7%, 0%, 81.3%, 49.8%) |
| CIE-LAB | lab(51.18, -16.45, 50.49) |
| CIE-LCH | lch(51.18, 53.10, 108.05°) |
| OKLab | oklab(57.35% -0.0507 0.11) |
| OKLCH | oklch(57.35% 0.121 114.7) |
| XYZ | xyz(15.4923, 19.4265, 3.7976) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.54
Poop Green
#6F7C00
ΔE00 2.34
Swamp Green
#748500
ΔE00 2.73
Murky Green
#6C7A0E
ΔE00 3.01
Olive
#808000
ΔE00 3.41
Olive Green
#677A04
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778018 #211880
analogous
#805518 #778018 #438018
triadic
#778018 #187780 #801877
tetradic
#778018 #188055 #211880 #801843
square
#778018 #188055 #211880 #801843
split-complementary
#778018 #184380 #551880
monochromatic
#181A05 #474C0E #778018 #A7B422 #CCDA39
Accessibility & contrast
On white
4.30
#778018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#778018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778018
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778018 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#7F786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #778018; /* rgb */ color: rgb(119, 128, 24); /* oklch */ color: oklch(57.4% 0.121 114.7);
Tailwind
colors: {
custom: {
50: '#a1a45f',
500: '#778018',
950: '#000000',
},
}SCSS
$custom: #778018; $custom-light: #a1a45f; $custom-dark: #000000;
JSON
{
"hex": "#778018",
"rgb": {
"r": 119,
"g": 128,
"b": 24
},
"hsl": {
"h": 65.192,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.57353,
"c": 0.12115,
"h": 114.7
},
"luminance": 0.19426
}Semantic roles & 50–950 ramp
primary
#778018
secondary
#4A40B4
accent
#3DEB4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79