#15771F#15771F
#15771F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.151 H 144.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #15771F |
|---|---|
| RGB | rgb(21, 119, 31) |
| HSL | hsl(126, 70%, 27%) |
| HSV | hsv(126, 82%, 47%) |
| CMYK | cmyk(82.4%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.44, -45.09, 38.79) |
| CIE-LCH | lch(43.44, 59.48, 139.29°) |
| OKLab | oklab(49.76% -0.1219 0.0885) |
| OKLCH | oklch(49.76% 0.151 144) |
| XYZ | xyz(7.1529, 13.4511, 3.5154) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.46
Darkish Green
#287C37
ΔE00 3.87
Green
#008000
ΔE00 4.39
Dark Grass Green
#388004
ΔE00 6.13
Darkgreen
#006400
ΔE00 6.53
Jungle Green
#048243
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15771F #77156D
analogous
#3C7715 #15771F #157750
triadic
#15771F #1F1577 #771F15
tetradic
#15771F #153C77 #77156D #775015
square
#15771F #153C77 #77156D #775015
split-complementary
#15771F #501577 #77153C
monochromatic
#051A07 #0C4311 #15771F #1EAB2D #2DDA3E
Accessibility & contrast
On white
5.69
#15771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#15771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #15771F
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15771F | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #15771f; /* rgb */ color: rgb(21, 119, 31); /* oklch */ color: oklch(49.8% 0.151 144.0);
Tailwind
colors: {
custom: {
50: '#669f60',
500: '#15771f',
950: '#000000',
},
}SCSS
$custom: #15771f; $custom-light: #669f60; $custom-dark: #000000;
JSON
{
"hex": "#15771f",
"rgb": {
"r": 21,
"g": 119,
"b": 31
},
"hsl": {
"h": 126.122,
"s": 70,
"l": 27.451
},
"oklch": {
"l": 0.49758,
"c": 0.15063,
"h": 144
},
"luminance": 0.13452
}Semantic roles & 50–950 ramp
primary
#15771F
secondary
#AD3BA1
accent
#3BDBED
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79