#15781F#15781F
#15781F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.152 H 144.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #15781F |
|---|---|
| RGB | rgb(21, 120, 31) |
| HSL | hsl(126, 70%, 28%) |
| HSV | hsv(126, 83%, 47%) |
| CMYK | cmyk(82.5%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(43.79, -45.43, 39.15) |
| CIE-LCH | lch(43.79, 59.97, 139.24°) |
| OKLab | oklab(50.05% -0.1228 0.0892) |
| OKLCH | oklch(50.05% 0.152 144) |
| XYZ | xyz(7.2726, 13.6904, 3.5553) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.17
Darkish Green
#287C37
ΔE00 3.79
Green
#008000
ΔE00 4.10
Dark Grass Green
#388004
ΔE00 5.89
Jungle Green
#048243
ΔE00 6.55
Darkgreen
#006400
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15781F #78156E
analogous
#3C7815 #15781F #157851
triadic
#15781F #1F1578 #781F15
tetradic
#15781F #153C78 #78156E #785115
square
#15781F #153C78 #78156E #785115
split-complementary
#15781F #511578 #78153C
monochromatic
#051A07 #0C4412 #15781F #1EAC2C #2DDA3F
Accessibility & contrast
On white
5.62
#15781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#15781F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #15781F
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15781F | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C10
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #15781f; /* rgb */ color: rgb(21, 120, 31); /* oklch */ color: oklch(50.0% 0.152 144.0);
Tailwind
colors: {
custom: {
50: '#67a060',
500: '#15781f',
950: '#000000',
},
}SCSS
$custom: #15781f; $custom-light: #67a060; $custom-dark: #000000;
JSON
{
"hex": "#15781f",
"rgb": {
"r": 21,
"g": 120,
"b": 31
},
"hsl": {
"h": 126.061,
"s": 70.213,
"l": 27.647
},
"oklch": {
"l": 0.50049,
"c": 0.15183,
"h": 144
},
"luminance": 0.13691
}Semantic roles & 50–950 ramp
primary
#15781F
secondary
#AE3BA2
accent
#3BDBED
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79