#15771D#15771D

#15771D is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.152 H 143.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#15771D
RGBrgb(21, 119, 29)
HSLhsl(125, 70%, 27%)
HSVhsv(125, 82%, 47%)
CMYKcmyk(82.4%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.42, -45.27, 39.59)
CIE-LCHlch(43.42, 60.14, 138.83°)
OKLaboklab(49.74% -0.1225 0.0899)
OKLCHoklch(49.74% 0.152 143.7)
XYZxyz(7.1274, 13.4409, 3.3809)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15771D #77156F
analogous
#3E7715 #15771D #15774E
triadic
#15771D #1D1577 #771D15
tetradic
#15771D #153E77 #77156F #774E15
square
#15771D #153E77 #77156F #774E15
split-complementary
#15771D #4E1577 #77153E
monochromatic
#051A06 #0C4310 #15771D #1EAB2A #2DDA3B

Accessibility & contrast

On white

5.69
#15771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#15771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15771D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15771D#FFFFFF#000000##FFFFFF
##15771D1.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)
#796B0D
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #15771d;
/* rgb */ color: rgb(21, 119, 29);
/* oklch */ color: oklch(49.7% 0.152 143.7);
Tailwind
colors: {
  custom: {
    50: '#669f5f',
    500: '#15771d',
    950: '#000000',
  },
}
SCSS
$custom: #15771d;
$custom-light: #669f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#15771d",
  "rgb": {
    "r": 21,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 124.898,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.15194,
    "h": 143.7
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#15771D
secondary
#AD3BA3
accent
#3BDEED
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #15771D

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

Preview Lab → · Contrast checker → · Palette generator →

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