#788116#788116
#788116 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.7% C 0.123 H 114.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #788116 |
|---|---|
| RGB | rgb(120, 129, 22) |
| HSL | hsl(65, 71%, 30%) |
| HSV | hsv(65, 83%, 51%) |
| CMYK | cmyk(7%, 0%, 82.9%, 49.4%) |
| CIE-LAB | lab(51.56, -16.61, 51.45) |
| CIE-LCH | lch(51.56, 54.06, 107.89°) |
| OKLab | oklab(57.67% -0.0513 0.1117) |
| OKLCH | oklch(57.67% 0.123 114.7) |
| XYZ | xyz(15.7413, 19.7518, 3.7422) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.38
Swamp Green
#748500
ΔE00 2.43
Poop Green
#6F7C00
ΔE00 2.56
Olive
#808000
ΔE00 3.18
Murky Green
#6C7A0E
ΔE00 3.39
Olive Green
#677A04
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788116 #1F1681
analogous
#815516 #788116 #428116
triadic
#788116 #167881 #811678
tetradic
#788116 #168155 #1F1681 #811642
square
#788116 #168155 #1F1681 #811642
split-complementary
#788116 #164281 #551681
monochromatic
#181A04 #474D0D #788116 #A9B51F #CEDD35
Accessibility & contrast
On white
4.24
#788116 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#788116 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788116
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788116 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788116 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7C21
Tritanopia (blue-blind)
#80796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #788116; /* rgb */ color: rgb(120, 129, 22); /* oklch */ color: oklch(57.7% 0.123 114.7);
Tailwind
colors: {
custom: {
50: '#a2a55f',
500: '#788116',
950: '#000000',
},
}SCSS
$custom: #788116; $custom-light: #a2a55f; $custom-dark: #000000;
JSON
{
"hex": "#788116",
"rgb": {
"r": 120,
"g": 129,
"b": 22
},
"hsl": {
"h": 65.047,
"s": 70.861,
"l": 29.608
},
"oklch": {
"l": 0.5767,
"c": 0.12291,
"h": 114.7
},
"luminance": 0.19752
}Semantic roles & 50–950 ramp
primary
#788116
secondary
#473DB6
accent
#3AEE49
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79