#778318#778318
#778318 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.125 H 116.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #778318 |
|---|---|
| RGB | rgb(119, 131, 24) |
| HSL | hsl(67, 69%, 30%) |
| HSV | hsv(67, 82%, 51%) |
| CMYK | cmyk(9.2%, 0%, 81.7%, 48.6%) |
| CIE-LAB | lab(52.09, -18.03, 51.29) |
| CIE-LCH | lch(52.09, 54.37, 109.37°) |
| OKLab | oklab(58.08% -0.055 0.1118) |
| OKLCH | oklch(58.08% 0.125 116.2) |
| XYZ | xyz(15.8894, 20.2207, 3.9299) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.80
Swamp Green
#748500
ΔE00 1.81
Poop Green
#6F7C00
ΔE00 2.96
Murky Green
#6C7A0E
ΔE00 3.69
Olive
#808000
ΔE00 3.94
Olive Green
#677A04
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778318 #241883
analogous
#835918 #778318 #418318
triadic
#778318 #187783 #831877
tetradic
#778318 #188359 #241883 #831841
square
#778318 #188359 #241883 #831841
split-complementary
#778318 #184183 #591883
monochromatic
#191C05 #484F0F #778318 #A6B721 #C9DB3A
Accessibility & contrast
On white
4.16
#778318 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#778318 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778318
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778318 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #778318; /* rgb */ color: rgb(119, 131, 24); /* oklch */ color: oklch(58.1% 0.125 116.2);
Tailwind
colors: {
custom: {
50: '#a2a660',
500: '#778318',
950: '#000000',
},
}SCSS
$custom: #778318; $custom-light: #a2a660; $custom-dark: #000000;
JSON
{
"hex": "#778318",
"rgb": {
"r": 119,
"g": 131,
"b": 24
},
"hsl": {
"h": 66.729,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.58079,
"c": 0.12458,
"h": 116.2
},
"luminance": 0.2022
}Semantic roles & 50–950 ramp
primary
#778318
secondary
#4D40B7
accent
#3CEC50
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79