#157F3B#157F3B

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

Color values

HEX#157F3B
RGBrgb(21, 127, 59)
HSLhsl(142, 72%, 29%)
HSVhsv(142, 83%, 50%)
CMYKcmyk(83.5%, 0%, 53.5%, 50.2%)
CIE-LABlab(46.52, -44.24, 28.83)
CIE-LCHlch(46.52, 52.80, 146.91°)
OKLaboklab(52.41% -0.1187 0.0697)
OKLCHoklch(52.41% 0.138 149.6)
XYZxyz(8.6873, 15.6529, 6.7003)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F3B #7F1559
analogous
#247F15 #157F3B #157F70
triadic
#157F3B #3B157F #7F3B15
tetradic
#157F3B #15247F #7F1559 #7F7015
square
#157F3B #15247F #7F1559 #7F7015
split-complementary
#157F3B #70157F #7F1524
monochromatic
#041A0C #0C4A23 #157F3B #1EB453 #31DD6F

Accessibility & contrast

On white

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

On black

4.13
#157F3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157F3B#FFFFFF#000000##FFFFFF
##157F3B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807335
Deuteranopia (green-blind)
#746B40
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f3b;
/* rgb */ color: rgb(21, 127, 59);
/* oklch */ color: oklch(52.4% 0.138 149.6);
Tailwind
colors: {
  custom: {
    50: '#67a572',
    500: '#157f3b',
    950: '#000000',
  },
}
SCSS
$custom: #157f3b;
$custom-light: #67a572;
$custom-dark: #000000;
JSON
{
  "hex": "#157f3b",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 59
  },
  "hsl": {
    "h": 141.509,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52413,
    "c": 0.13766,
    "h": 149.6
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#157F3B
secondary
#B43C89
accent
#39AEEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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