#787C15#787C15
#787C15 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.118 H 112.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #787C15 |
|---|---|
| RGB | rgb(120, 124, 21) |
| HSL | hsl(62, 71%, 28%) |
| HSV | hsv(62, 83%, 49%) |
| CMYK | cmyk(3.2%, 0%, 83.1%, 51.4%) |
| CIE-LAB | lab(50.05, -13.97, 50.42) |
| CIE-LCH | lch(50.05, 52.33, 105.49°) |
| OKLab | oklab(56.46% -0.0441 0.1093) |
| OKLCH | oklch(56.46% 0.118 112) |
| XYZ | xyz(15.0893, 18.4629, 3.4782) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.42
Poop Green
#6F7C00
ΔE00 2.59
Olive
#808000
ΔE00 2.90
Olive (survey)
#6E750E
ΔE00 3.08
Murky Green
#6C7A0E
ΔE00 3.13
Swamp Green
#748500
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C15 #19157C
analogous
#7C4C15 #787C15 #447C15
triadic
#787C15 #15787C #7C1578
tetradic
#787C15 #157C4C #19157C #7C1544
square
#787C15 #157C4C #19157C #7C1544
split-complementary
#787C15 #15447C #4C157C
monochromatic
#191A04 #45480C #787C15 #ABB01E #D5DC30
Accessibility & contrast
On white
4.48
#787C15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#787C15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C15
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C15 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87781F
Tritanopia (blue-blind)
#817469
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787c15; /* rgb */ color: rgb(120, 124, 21); /* oklch */ color: oklch(56.5% 0.118 112.0);
Tailwind
colors: {
custom: {
50: '#a2a15e',
500: '#787c15',
950: '#000000',
},
}SCSS
$custom: #787c15; $custom-light: #a2a15e; $custom-dark: #000000;
JSON
{
"hex": "#787c15",
"rgb": {
"r": 120,
"g": 124,
"b": 21
},
"hsl": {
"h": 62.33,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.56464,
"c": 0.11787,
"h": 112
},
"luminance": 0.18463
}Semantic roles & 50–950 ramp
primary
#787C15
secondary
#403CB1
accent
#3AEE41
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79