#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
RGBrgb(21, 119, 31)
HSLhsl(126, 70%, 27%)
HSVhsv(126, 82%, 47%)
CMYKcmyk(82.4%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.44, -45.09, 38.79)
CIE-LCHlch(43.44, 59.48, 139.29°)
OKLaboklab(49.76% -0.1219 0.0885)
OKLCHoklch(49.76% 0.151 144)
XYZxyz(7.1529, 13.4511, 3.5154)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##15771F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.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

Preview Lab

Preview with #15771F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#15771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva