#778416#778416
#778416 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.127 H 116.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #778416 |
|---|---|
| RGB | rgb(119, 132, 22) |
| HSL | hsl(67, 71%, 30%) |
| HSV | hsv(67, 83%, 52%) |
| CMYK | cmyk(9.8%, 0%, 83.3%, 48.2%) |
| CIE-LAB | lab(52.38, -18.63, 52.14) |
| CIE-LCH | lch(52.38, 55.37, 109.67°) |
| OKLab | oklab(58.31% -0.0568 0.1132) |
| OKLCH | oklch(58.31% 0.127 116.7) |
| XYZ | xyz(16.0043, 20.4826, 3.8693) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.46
Shit Green
#758000
ΔE00 1.93
Poop Green
#6F7C00
ΔE00 3.19
Murky Green
#6C7A0E
ΔE00 3.98
Olive
#808000
ΔE00 4.08
Olive Green
#677A04
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778416 #231684
analogous
#845A16 #778416 #408416
triadic
#778416 #167784 #841677
tetradic
#778416 #16845A #231684 #841640
square
#778416 #16845A #231684 #841640
split-complementary
#778416 #164084 #5A1684
monochromatic
#181B05 #48500D #778416 #A6B81F #CADE37
Accessibility & contrast
On white
4.12
#778416 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#778416 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778416
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778416 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778416 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#7F7C70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #778416; /* rgb */ color: rgb(119, 132, 22); /* oklch */ color: oklch(58.3% 0.127 116.7);
Tailwind
colors: {
custom: {
50: '#a2a75f',
500: '#778416',
950: '#000000',
},
}SCSS
$custom: #778416; $custom-light: #a2a75f; $custom-dark: #000000;
JSON
{
"hex": "#778416",
"rgb": {
"r": 119,
"g": 132,
"b": 22
},
"hsl": {
"h": 67.091,
"s": 71.429,
"l": 30.196
},
"oklch": {
"l": 0.58311,
"c": 0.12667,
"h": 116.7
},
"luminance": 0.20482
}Semantic roles & 50–950 ramp
primary
#778416
secondary
#4C3DB8
accent
#3AEE4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79