#788319#788319
#788319 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.124 H 115.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #788319 |
|---|---|
| RGB | rgb(120, 131, 25) |
| HSL | hsl(66, 68%, 31%) |
| HSV | hsv(66, 81%, 51%) |
| CMYK | cmyk(8.4%, 0%, 80.9%, 48.6%) |
| CIE-LAB | lab(52.17, -17.54, 51.09) |
| CIE-LCH | lch(52.17, 54.02, 108.95°) |
| OKLab | oklab(58.17% -0.0537 0.1115) |
| OKLCH | oklch(58.17% 0.124 115.7) |
| XYZ | xyz(16.0380, 20.2961, 3.9922) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.83
Swamp Green
#748500
ΔE00 1.98
Poop Green
#6F7C00
ΔE00 3.06
Olive
#808000
ΔE00 3.74
Murky Green
#6C7A0E
ΔE00 3.80
Olive Green
#677A04
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#788319 #241983
analogous
#835919 #788319 #438319
triadic
#788319 #197883 #831978
tetradic
#788319 #198359 #241983 #831943
square
#788319 #198359 #241983 #831943
split-complementary
#788319 #194383 #591983
monochromatic
#1A1C05 #49500F #788319 #A7B623 #CADA3D
Accessibility & contrast
On white
4.15
#788319 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#788319 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #788319
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##788319 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##788319 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#807B70
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #788319; /* rgb */ color: rgb(120, 131, 25); /* oklch */ color: oklch(58.2% 0.124 115.7);
Tailwind
colors: {
custom: {
50: '#a2a660',
500: '#788319',
950: '#000000',
},
}SCSS
$custom: #788319; $custom-light: #a2a660; $custom-dark: #000000;
JSON
{
"hex": "#788319",
"rgb": {
"r": 120,
"g": 131,
"b": 25
},
"hsl": {
"h": 66.226,
"s": 67.949,
"l": 30.588
},
"oklch": {
"l": 0.58168,
"c": 0.12373,
"h": 115.7
},
"luminance": 0.20296
}Semantic roles & 50–950 ramp
primary
#788319
secondary
#4D41B7
accent
#3DEB4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A