#157F3F#157F3F

#157F3F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.134 H 150.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#157F3F
RGBrgb(21, 127, 63)
HSLhsl(144, 72%, 29%)
HSVhsv(144, 83%, 50%)
CMYKcmyk(83.5%, 0%, 50.4%, 50.2%)
CIE-LABlab(46.57, -43.56, 26.76)
CIE-LCHlch(46.57, 51.12, 148.44°)
OKLaboklab(52.48% -0.1169 0.0652)
OKLCHoklch(52.48% 0.134 150.9)
XYZxyz(8.7951, 15.6960, 7.2678)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F3F #7F1555
analogous
#207F15 #157F3F #157F74
triadic
#157F3F #3F157F #7F3F15
tetradic
#157F3F #15207F #7F1555 #7F7415
square
#157F3F #15207F #7F1555 #7F7415
split-complementary
#157F3F #74157F #7F1520
monochromatic
#041A0D #0C4A25 #157F3F #1EB459 #31DD75

Accessibility & contrast

On white

5.07
#157F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157F3F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F3F#FFFFFF#000000##FFFFFF
##157F3F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80733A
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f3f;
/* rgb */ color: rgb(21, 127, 63);
/* oklch */ color: oklch(52.5% 0.134 150.9);
Tailwind
colors: {
  custom: {
    50: '#67a575',
    500: '#157f3f',
    950: '#000000',
  },
}
SCSS
$custom: #157f3f;
$custom-light: #67a575;
$custom-dark: #000000;
JSON
{
  "hex": "#157f3f",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 143.774,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.13387,
    "h": 150.9
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#157F3F
secondary
#B43C84
accent
#39A7EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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