#787918#787918
#787918 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.113 H 110.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #787918 |
|---|---|
| RGB | rgb(120, 121, 24) |
| HSL | hsl(61, 67%, 28%) |
| HSV | hsv(61, 80%, 47%) |
| CMYK | cmyk(0.8%, 0%, 80.2%, 52.5%) |
| CIE-LAB | lab(49.17, -12.23, 48.71) |
| CIE-LCH | lch(49.17, 50.23, 104.10°) |
| OKLab | oklab(55.76% -0.039 0.1062) |
| OKLCH | oklch(55.76% 0.113 110.2) |
| XYZ | xyz(14.7485, 17.7342, 3.5101) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.65
Poop Green
#6F7C00
ΔE00 3.46
Olive
#808000
ΔE00 3.61
Murky Green
#6C7A0E
ΔE00 3.64
Shit Green
#758000
ΔE00 3.69
Brownish Green
#6A6E09
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787918 #191879
analogous
#794918 #787918 #477918
triadic
#787918 #187879 #791878
tetradic
#787918 #187949 #191879 #791847
square
#787918 #187949 #191879 #791847
split-complementary
#787918 #184779 #491879
monochromatic
#191A05 #45460E #787918 #ABAC22 #D5D735
Accessibility & contrast
On white
4.62
#787918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#787918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #787918
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787918 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#817167
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #787918; /* rgb */ color: rgb(120, 121, 24); /* oklch */ color: oklch(55.8% 0.113 110.2);
Tailwind
colors: {
custom: {
50: '#a29f5e',
500: '#787918',
950: '#000000',
},
}SCSS
$custom: #787918; $custom-light: #a29f5e; $custom-dark: #000000;
JSON
{
"hex": "#787918",
"rgb": {
"r": 120,
"g": 121,
"b": 24
},
"hsl": {
"h": 60.619,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.55764,
"c": 0.11316,
"h": 110.2
},
"luminance": 0.17734
}Semantic roles & 50–950 ramp
primary
#787918
secondary
#403FAE
accent
#3EEA40
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79