#778227#778227
#778227 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.114 H 116.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #778227 |
|---|---|
| RGB | rgb(119, 130, 39) |
| HSL | hsl(67, 54%, 33%) |
| HSV | hsv(67, 70%, 51%) |
| CMYK | cmyk(8.5%, 0%, 70%, 49%) |
| CIE-LAB | lab(51.88, -16.74, 45.67) |
| CIE-LCH | lch(51.88, 48.64, 110.13°) |
| OKLab | oklab(57.94% -0.0501 0.1026) |
| OKLCH | oklch(57.94% 0.114 116) |
| XYZ | xyz(15.9570, 20.0339, 4.9454) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.24
Swamp Green
#748500
ΔE00 3.45
Poop Green
#6F7C00
ΔE00 3.70
Murky Green
#6C7A0E
ΔE00 3.78
Khaki Green
#728639
ΔE00 3.91
Olive Green
#677A04
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778227 #322782
analogous
#825F27 #778227 #498227
triadic
#778227 #277782 #822777
tetradic
#778227 #27825F #322782 #822749
square
#778227 #27825F #322782 #822749
split-complementary
#778227 #274982 #5F2782
monochromatic
#21240B #4C5319 #778227 #A2B135 #BECD57
Accessibility & contrast
On white
4.19
#778227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#778227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778227
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778227 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B19
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#7F7A70
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #778227; /* rgb */ color: rgb(119, 130, 39); /* oklch */ color: oklch(57.9% 0.114 116.0);
Tailwind
colors: {
custom: {
50: '#a1a667',
500: '#778227',
950: '#000000',
},
}SCSS
$custom: #778227; $custom-light: #a1a667; $custom-dark: #000000;
JSON
{
"hex": "#778227",
"rgb": {
"r": 119,
"g": 130,
"b": 39
},
"hsl": {
"h": 67.253,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.57939,
"c": 0.11416,
"h": 116
},
"luminance": 0.20034
}Semantic roles & 50–950 ramp
primary
#778227
secondary
#5F53B1
accent
#4BDD5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A