#157F2E#157F2E

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

Color values

HEX#157F2E
RGBrgb(21, 127, 46)
HSLhsl(134, 72%, 29%)
HSVhsv(134, 83%, 50%)
CMYKcmyk(83.5%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.36, -46.15, 35.23)
CIE-LCHlch(46.36, 58.06, 142.64°)
OKLaboklab(52.23% -0.1242 0.0827)
OKLCHoklch(52.23% 0.149 146.3)
XYZxyz(8.3911, 15.5344, 5.1404)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F2E #7F1566
analogous
#317F15 #157F2E #157F63
triadic
#157F2E #2E157F #7F2E15
tetradic
#157F2E #15317F #7F1566 #7F6315
square
#157F2E #15317F #7F1566 #7F6315
split-complementary
#157F2E #63157F #7F1531
monochromatic
#041A0A #0C4A1B #157F2E #1EB441 #31DD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157F2E#FFFFFF#000000##FFFFFF
##157F2E1.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)
#817325
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f2e;
/* rgb */ color: rgb(21, 127, 46);
/* oklch */ color: oklch(52.2% 0.149 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a56a',
    500: '#157f2e',
    950: '#000000',
  },
}
SCSS
$custom: #157f2e;
$custom-light: #68a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#157f2e",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 134.151,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.14916,
    "h": 146.3
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#157F2E
secondary
#B43C98
accent
#39C4EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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