#787C19#787C19
#787C19 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.116 H 112.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #787C19 |
|---|---|
| RGB | rgb(120, 124, 25) |
| HSL | hsl(62, 66%, 29%) |
| HSV | hsv(62, 80%, 49%) |
| CMYK | cmyk(3.2%, 0%, 79.8%, 51.4%) |
| CIE-LAB | lab(50.07, -13.82, 49.20) |
| CIE-LCH | lch(50.07, 51.10, 105.69°) |
| OKLab | oklab(56.49% -0.0434 0.1074) |
| OKLCH | oklch(56.49% 0.116 112) |
| XYZ | xyz(15.1294, 18.4789, 3.6893) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.63
Poop Green
#6F7C00
ΔE00 2.72
Olive (survey)
#6E750E
ΔE00 3.07
Murky Green
#6C7A0E
ΔE00 3.11
Olive
#808000
ΔE00 3.17
Olive Green
#677A04
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C19 #1D197C
analogous
#7C4F19 #787C19 #477C19
triadic
#787C19 #19787C #7C1978
tetradic
#787C19 #197C4F #1D197C #7C1947
square
#787C19 #197C4F #1D197C #7C1947
split-complementary
#787C19 #19477C #4F197C
monochromatic
#191905 #47490F #787C19 #A9AF23 #D1D738
Accessibility & contrast
On white
4.47
#787C19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#787C19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C19
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C19 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#81746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787c19; /* rgb */ color: rgb(120, 124, 25); /* oklch */ color: oklch(56.5% 0.116 112.0);
Tailwind
colors: {
custom: {
50: '#a2a15f',
500: '#787c19',
950: '#000000',
},
}SCSS
$custom: #787c19; $custom-light: #a2a15f; $custom-dark: #000000;
JSON
{
"hex": "#787c19",
"rgb": {
"r": 120,
"g": 124,
"b": 25
},
"hsl": {
"h": 62.424,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.56485,
"c": 0.11586,
"h": 112
},
"luminance": 0.18479
}Semantic roles & 50–950 ramp
primary
#787C19
secondary
#4540B0
accent
#3EE945
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79