#778020#778020
#778020 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.117 H 114.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #778020 |
|---|---|
| RGB | rgb(119, 128, 32) |
| HSL | hsl(66, 60%, 31%) |
| HSV | hsv(66, 75%, 50%) |
| CMYK | cmyk(7%, 0%, 75%, 49.8%) |
| CIE-LAB | lab(51.23, -16.08, 47.79) |
| CIE-LCH | lch(51.23, 50.42, 108.60°) |
| OKLab | oklab(57.4% -0.0489 0.1058) |
| OKLCH | oklch(57.4% 0.117 114.8) |
| XYZ | xyz(15.5881, 19.4648, 4.3022) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.36
Poop Green
#6F7C00
ΔE00 2.82
Murky Green
#6C7A0E
ΔE00 3.11
Swamp Green
#748500
ΔE00 3.24
Olive
#808000
ΔE00 4.02
Olive Green
#677A04
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778020 #292080
analogous
#805920 #778020 #478020
triadic
#778020 #207780 #802077
tetradic
#778020 #208059 #292080 #802047
square
#778020 #208059 #292080 #802047
split-complementary
#778020 #204780 #592080
monochromatic
#1C1E08 #494F14 #778020 #A5B12C #C5D149
Accessibility & contrast
On white
4.29
#778020 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#778020 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778020
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778020 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778020 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 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)
#8A790D
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#7F786E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #778020; /* rgb */ color: rgb(119, 128, 32); /* oklch */ color: oklch(57.4% 0.117 114.8);
Tailwind
colors: {
custom: {
50: '#a1a463',
500: '#778020',
950: '#000000',
},
}SCSS
$custom: #778020; $custom-light: #a1a463; $custom-dark: #000000;
JSON
{
"hex": "#778020",
"rgb": {
"r": 119,
"g": 128,
"b": 32
},
"hsl": {
"h": 65.625,
"s": 60,
"l": 31.373
},
"oklch": {
"l": 0.57403,
"c": 0.11659,
"h": 114.8
},
"luminance": 0.19465
}Semantic roles & 50–950 ramp
primary
#778020
secondary
#5349B3
accent
#45E354
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A