#778415#778415
#778415 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.3% C 0.127 H 116.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #778415 |
|---|---|
| RGB | rgb(119, 132, 21) |
| HSL | hsl(67, 73%, 30%) |
| HSV | hsv(67, 84%, 52%) |
| CMYK | cmyk(9.8%, 0%, 84.1%, 48.2%) |
| CIE-LAB | lab(52.37, -18.67, 52.42) |
| CIE-LCH | lch(52.37, 55.64, 109.60°) |
| OKLab | oklab(58.31% -0.057 0.1136) |
| OKLCH | oklch(58.31% 0.127 116.6) |
| XYZ | xyz(15.9948, 20.4788, 3.8195) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.40
Shit Green
#758000
ΔE00 1.87
Poop Green
#6F7C00
ΔE00 3.17
Murky Green
#6C7A0E
ΔE00 3.99
Olive
#808000
ΔE00 4.04
Olive Green
#677A04
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778415 #221584
analogous
#845915 #778415 #408415
triadic
#778415 #157784 #841577
tetradic
#778415 #158459 #221584 #841540
square
#778415 #158459 #221584 #841540
split-complementary
#778415 #154084 #591584
monochromatic
#181A04 #474F0D #778415 #A7B91D #CBDF35
Accessibility & contrast
On white
4.12
#778415 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#778415 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778415
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778415 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778415 | 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)
#8E7C00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#7F7C70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #778415; /* rgb */ color: rgb(119, 132, 21); /* oklch */ color: oklch(58.3% 0.127 116.6);
Tailwind
colors: {
custom: {
50: '#a2a75f',
500: '#778415',
950: '#000000',
},
}SCSS
$custom: #778415; $custom-light: #a2a75f; $custom-dark: #000000;
JSON
{
"hex": "#778415",
"rgb": {
"r": 119,
"g": 132,
"b": 21
},
"hsl": {
"h": 67.027,
"s": 72.549,
"l": 30
},
"oklch": {
"l": 0.58306,
"c": 0.12713,
"h": 116.6
},
"luminance": 0.20479
}Semantic roles & 50–950 ramp
primary
#778415
secondary
#4B3CB9
accent
#39EF4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79