#15771E#15771E

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

Color values

HEX#15771E
RGBrgb(21, 119, 30)
HSLhsl(126, 70%, 27%)
HSVhsv(126, 82%, 47%)
CMYKcmyk(82.4%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.43, -45.18, 39.19)
CIE-LCHlch(43.43, 59.81, 139.06°)
OKLaboklab(49.75% -0.1222 0.0892)
OKLCHoklch(49.75% 0.151 143.9)
XYZxyz(7.1399, 13.4460, 3.4471)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15771E #77156E
analogous
#3D7715 #15771E #15774F
triadic
#15771E #1E1577 #771E15
tetradic
#15771E #153D77 #77156E #774F15
square
#15771E #153D77 #77156E #774F15
split-complementary
#15771E #4F1577 #77153D
monochromatic
#051A07 #0C4311 #15771E #1EAB2B #2DDA3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15771E#FFFFFF#000000##FFFFFF
##15771E1.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)
#796B0F
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #15771e;
/* rgb */ color: rgb(21, 119, 30);
/* oklch */ color: oklch(49.7% 0.151 143.9);
Tailwind
colors: {
  custom: {
    50: '#669f60',
    500: '#15771e',
    950: '#000000',
  },
}
SCSS
$custom: #15771e;
$custom-light: #669f60;
$custom-dark: #000000;
JSON
{
  "hex": "#15771e",
  "rgb": {
    "r": 21,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 125.51,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49749,
    "c": 0.1513,
    "h": 143.9
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#15771E
secondary
#AD3BA2
accent
#3BDCED
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #15771E

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

Preview Lab → · Contrast checker → · Palette generator →

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