#788218#788218
#788218 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.00:1 contrast (WCAG AA passes).
Color values
| HEX | #788218 |
|---|---|
| RGB | rgb(120, 130, 24) |
| HSL | hsl(66, 69%, 30%) |
| HSV | hsv(66, 82%, 51%) |
| CMYK | cmyk(7.7%, 0%, 81.5%, 49%) |
| CIE-LAB | lab(51.87, -17.06, 51.13) |
| CIE-LCH | lch(51.87, 53.90, 108.45°) |
| OKLab | oklab(57.92% -0.0524 0.1114) |
| OKLCH | oklch(57.92% 0.123 115.2) |
| XYZ | xyz(15.8937, 20.0246, 3.8918) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.60
Swamp Green
#748500
ΔE00 2.20
Poop Green
#6F7C00
ΔE00 2.80
Olive
#808000
ΔE00 3.47
Murky Green
#6C7A0E
ΔE00 3.57
Olive Green
#677A04
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788218 #221882
analogous
#825718 #788218 #438218
triadic
#788218 #187882 #821878
tetradic
#788218 #188257 #221882 #821843
square
#788218 #188257 #221882 #821843
split-complementary
#788218 #184382 #571882
monochromatic
#191B05 #484E0E #788218 #A8B622 #CBDB3A
Accessibility & contrast
On white
4.20
#788218 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#788218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788218
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788218 | 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)
#8C7B00
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#807A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #788218; /* rgb */ color: rgb(120, 130, 24); /* oklch */ color: oklch(57.9% 0.123 115.2);
Tailwind
colors: {
custom: {
50: '#a2a660',
500: '#788218',
950: '#000000',
},
}SCSS
$custom: #788218; $custom-light: #a2a660; $custom-dark: #000000;
JSON
{
"hex": "#788218",
"rgb": {
"r": 120,
"g": 130,
"b": 24
},
"hsl": {
"h": 65.66,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.57921,
"c": 0.12309,
"h": 115.2
},
"luminance": 0.20024
}Semantic roles & 50–950 ramp
primary
#788218
secondary
#4B40B6
accent
#3CEC4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79