#778221#778221
#778221 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.118 H 115.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #778221 |
|---|---|
| RGB | rgb(119, 130, 33) |
| HSL | hsl(67, 60%, 32%) |
| HSV | hsv(67, 75%, 51%) |
| CMYK | cmyk(8.5%, 0%, 74.6%, 49%) |
| CIE-LAB | lab(51.83, -17.09, 48.00) |
| CIE-LCH | lch(51.83, 50.95, 109.60°) |
| OKLab | oklab(57.89% -0.0516 0.1065) |
| OKLCH | oklch(57.89% 0.118 115.9) |
| XYZ | xyz(15.8653, 19.9972, 4.4626) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.51
Swamp Green
#748500
ΔE00 2.79
Poop Green
#6F7C00
ΔE00 3.18
Murky Green
#6C7A0E
ΔE00 3.53
Olive Green
#677A04
ΔE00 4.34
Olive
#808000
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778221 #2C2182
analogous
#825D21 #778221 #478221
triadic
#778221 #217782 #822177
tetradic
#778221 #21825D #2C2182 #822147
square
#778221 #21825D #2C2182 #822147
split-complementary
#778221 #214782 #5D2182
monochromatic
#1E2008 #4A5115 #778221 #A4B32D #C2D24C
Accessibility & contrast
On white
4.20
#778221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#778221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778221
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778221 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B0E
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #778221; /* rgb */ color: rgb(119, 130, 33); /* oklch */ color: oklch(57.9% 0.118 115.9);
Tailwind
colors: {
custom: {
50: '#a1a664',
500: '#778221',
950: '#000000',
},
}SCSS
$custom: #778221; $custom-light: #a1a664; $custom-dark: #000000;
JSON
{
"hex": "#778221",
"rgb": {
"r": 119,
"g": 130,
"b": 33
},
"hsl": {
"h": 66.804,
"s": 59.509,
"l": 31.961
},
"oklch": {
"l": 0.57892,
"c": 0.11832,
"h": 115.9
},
"luminance": 0.19997
}Semantic roles & 50–950 ramp
primary
#778221
secondary
#564AB4
accent
#45E357
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A