#787A19#787A19
#787A19 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.114 H 110.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #787A19 |
|---|---|
| RGB | rgb(120, 122, 25) |
| HSL | hsl(61, 66%, 29%) |
| HSV | hsv(61, 80%, 48%) |
| CMYK | cmyk(1.6%, 0%, 79.5%, 52.2%) |
| CIE-LAB | lab(49.48, -12.73, 48.66) |
| CIE-LCH | lch(49.48, 50.30, 104.67°) |
| OKLab | oklab(56.01% -0.0403 0.1063) |
| OKLCH | oklch(56.01% 0.114 110.8) |
| XYZ | xyz(14.8813, 17.9827, 3.6066) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.73
Poop Green
#6F7C00
ΔE00 3.19
Shit Green
#758000
ΔE00 3.35
Murky Green
#6C7A0E
ΔE00 3.41
Olive
#808000
ΔE00 3.46
Olive Green
#677A04
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A19 #1B197A
analogous
#7A4C19 #787A19 #487A19
triadic
#787A19 #19787A #7A1978
tetradic
#787A19 #197A4C #1B197A #7A1948
square
#787A19 #197A4C #1B197A #7A1948
split-complementary
#787A19 #19487A #4C197A
monochromatic
#191905 #46470F #787A19 #AAAD23 #D3D637
Accessibility & contrast
On white
4.57
#787A19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#787A19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A19
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A19 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a19; /* rgb */ color: rgb(120, 122, 25); /* oklch */ color: oklch(56.0% 0.114 110.8);
Tailwind
colors: {
custom: {
50: '#a2a05f',
500: '#787a19',
950: '#000000',
},
}SCSS
$custom: #787a19; $custom-light: #a2a05f; $custom-dark: #000000;
JSON
{
"hex": "#787a19",
"rgb": {
"r": 120,
"g": 122,
"b": 25
},
"hsl": {
"h": 61.237,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.56008,
"c": 0.11369,
"h": 110.8
},
"luminance": 0.17982
}Semantic roles & 50–950 ramp
primary
#787A19
secondary
#4340AF
accent
#3FE942
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79