#788219#788219
#788219 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.123 H 115.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #788219 |
|---|---|
| RGB | rgb(120, 130, 25) |
| HSL | hsl(66, 68%, 30%) |
| HSV | hsv(66, 81%, 51%) |
| CMYK | cmyk(7.7%, 0%, 80.8%, 49%) |
| CIE-LAB | lab(51.87, -17.02, 50.82) |
| CIE-LCH | lch(51.87, 53.60, 108.51°) |
| OKLab | oklab(57.93% -0.0522 0.1109) |
| OKLCH | oklch(57.93% 0.123 115.2) |
| XYZ | xyz(15.9043, 20.0288, 3.9476) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.68
Swamp Green
#748500
ΔE00 2.25
Poop Green
#6F7C00
ΔE00 2.84
Olive
#808000
ΔE00 3.53
Murky Green
#6C7A0E
ΔE00 3.57
Olive Green
#677A04
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788219 #231982
analogous
#825719 #788219 #448219
triadic
#788219 #197882 #821978
tetradic
#788219 #198257 #231982 #821944
square
#788219 #198257 #231982 #821944
split-complementary
#788219 #194482 #571982
monochromatic
#191B05 #494F0F #788219 #A7B523 #CAD93C
Accessibility & contrast
On white
4.20
#788219 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#788219 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788219
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788219 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788219 | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 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)
#8C7B00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#807A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #788219; /* rgb */ color: rgb(120, 130, 25); /* oklch */ color: oklch(57.9% 0.123 115.2);
Tailwind
colors: {
custom: {
50: '#a2a660',
500: '#788219',
950: '#000000',
},
}SCSS
$custom: #788219; $custom-light: #a2a660; $custom-dark: #000000;
JSON
{
"hex": "#788219",
"rgb": {
"r": 120,
"g": 130,
"b": 25
},
"hsl": {
"h": 65.714,
"s": 67.742,
"l": 30.392
},
"oklch": {
"l": 0.57926,
"c": 0.12258,
"h": 115.2
},
"luminance": 0.20029
}Semantic roles & 50–950 ramp
primary
#788219
secondary
#4C41B6
accent
#3DEB4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79