#157F2D#157F2D

#157F2D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.150 H 146.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#157F2D
RGBrgb(21, 127, 45)
HSLhsl(134, 72%, 29%)
HSVhsv(134, 83%, 50%)
CMYKcmyk(83.5%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.35, -46.27, 35.70)
CIE-LCHlch(46.35, 58.44, 142.35°)
OKLaboklab(52.22% -0.1245 0.0836)
OKLCHoklch(52.22% 0.15 146.1)
XYZxyz(8.3717, 15.5266, 5.0378)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F2D #7F1567
analogous
#327F15 #157F2D #157F62
triadic
#157F2D #2D157F #7F2D15
tetradic
#157F2D #15327F #7F1567 #7F6215
square
#157F2D #15327F #7F1567 #7F6215
split-complementary
#157F2D #62157F #7F1532
monochromatic
#041A09 #0C4A1A #157F2D #1EB440 #31DD58

Accessibility & contrast

On white

5.11
#157F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#157F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F2D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F2D#FFFFFF#000000##FFFFFF
##157F2D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f2d;
/* rgb */ color: rgb(21, 127, 45);
/* oklch */ color: oklch(52.2% 0.150 146.1);
Tailwind
colors: {
  custom: {
    50: '#68a569',
    500: '#157f2d',
    950: '#000000',
  },
}
SCSS
$custom: #157f2d;
$custom-light: #68a569;
$custom-dark: #000000;
JSON
{
  "hex": "#157f2d",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 133.585,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.14998,
    "h": 146.1
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#157F2D
secondary
#B43C99
accent
#39C5EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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