#15771C#15771C

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

Color values

HEX#15771C
RGBrgb(21, 119, 28)
HSLhsl(124, 70%, 27%)
HSVhsv(124, 82%, 47%)
CMYKcmyk(82.4%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.41, -45.36, 39.97)
CIE-LCHlch(43.41, 60.46, 138.61°)
OKLaboklab(49.73% -0.1228 0.0906)
OKLCHoklch(49.73% 0.153 143.6)
XYZxyz(7.1152, 13.4361, 3.3168)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15771C #771570
analogous
#3F7715 #15771C #15774D
triadic
#15771C #1C1577 #771C15
tetradic
#15771C #153F77 #771570 #774D15
square
#15771C #153F77 #771570 #774D15
split-complementary
#15771C #4D1577 #77153F
monochromatic
#051A06 #0C4310 #15771C #1EAB28 #2DDA39

Accessibility & contrast

On white

5.70
#15771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #15771C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15771C#FFFFFF#000000##FFFFFF
##15771C1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #15771c;
/* rgb */ color: rgb(21, 119, 28);
/* oklch */ color: oklch(49.7% 0.153 143.6);
Tailwind
colors: {
  custom: {
    50: '#669f5f',
    500: '#15771c',
    950: '#000000',
  },
}
SCSS
$custom: #15771c;
$custom-light: #669f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#15771c",
  "rgb": {
    "r": 21,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 124.286,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.15258,
    "h": 143.6
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#15771C
secondary
#AD3BA5
accent
#3BE0ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #15771C

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

Preview Lab → · Contrast checker → · Palette generator →

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