#157F3D#157F3D

#157F3D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.136 H 150.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#157F3D
RGBrgb(21, 127, 61)
HSLhsl(143, 72%, 29%)
HSVhsv(143, 83%, 50%)
CMYKcmyk(83.5%, 0%, 52%, 50.2%)
CIE-LABlab(46.54, -43.90, 27.80)
CIE-LCHlch(46.54, 51.96, 147.66°)
OKLaboklab(52.45% -0.1178 0.0675)
OKLCHoklch(52.45% 0.136 150.2)
XYZxyz(8.7402, 15.6740, 6.9787)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F3D #7F1557
analogous
#227F15 #157F3D #157F72
triadic
#157F3D #3D157F #7F3D15
tetradic
#157F3D #15227F #7F1557 #7F7215
square
#157F3D #15227F #7F1557 #7F7215
split-complementary
#157F3D #72157F #7F1522
monochromatic
#041A0D #0C4A24 #157F3D #1EB456 #31DD72

Accessibility & contrast

On white

5.08
#157F3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#157F3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F3D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F3D#FFFFFF#000000##FFFFFF
##157F3D1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807337
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f3d;
/* rgb */ color: rgb(21, 127, 61);
/* oklch */ color: oklch(52.4% 0.136 150.2);
Tailwind
colors: {
  custom: {
    50: '#67a574',
    500: '#157f3d',
    950: '#000000',
  },
}
SCSS
$custom: #157f3d;
$custom-light: #67a574;
$custom-dark: #000000;
JSON
{
  "hex": "#157f3d",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 142.642,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.13577,
    "h": 150.2
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#157F3D
secondary
#B43C87
accent
#39AAEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157F3D

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

Preview Lab → · Contrast checker → · Palette generator →

#157F3D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva