#788418#788418
#788418 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.125 H 116.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #788418 |
|---|---|
| RGB | rgb(120, 132, 24) |
| HSL | hsl(67, 69%, 31%) |
| HSV | hsv(67, 82%, 52%) |
| CMYK | cmyk(9.1%, 0%, 81.8%, 48.2%) |
| CIE-LAB | lab(52.47, -18.11, 51.66) |
| CIE-LCH | lch(52.47, 54.74, 109.31°) |
| OKLab | oklab(58.4% -0.0553 0.1125) |
| OKLCH | oklch(58.4% 0.125 116.2) |
| XYZ | xyz(16.1623, 20.5618, 3.9814) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.70
Shit Green
#758000
ΔE00 1.99
Poop Green
#6F7C00
ΔE00 3.29
Olive
#808000
ΔE00 3.93
Murky Green
#6C7A0E
ΔE00 4.07
Olive Green
#677A04
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788418 #241884
analogous
#845A18 #788418 #428418
triadic
#788418 #187884 #841878
tetradic
#788418 #18845A #241884 #841842
square
#788418 #18845A #241884 #841842
split-complementary
#788418 #184284 #5A1884
monochromatic
#1A1C05 #49500F #788418 #A7B821 #CADB3B
Accessibility & contrast
On white
4.11
#788418 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#788418 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788418
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788418 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#807C70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #788418; /* rgb */ color: rgb(120, 132, 24); /* oklch */ color: oklch(58.4% 0.125 116.2);
Tailwind
colors: {
custom: {
50: '#a2a760',
500: '#788418',
950: '#000000',
},
}SCSS
$custom: #788418; $custom-light: #a2a760; $custom-dark: #000000;
JSON
{
"hex": "#788418",
"rgb": {
"r": 120,
"g": 132,
"b": 24
},
"hsl": {
"h": 66.667,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.58404,
"c": 0.12537,
"h": 116.2
},
"luminance": 0.20562
}Semantic roles & 50–950 ramp
primary
#788418
secondary
#4D40B8
accent
#3CEC4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79