#157B3D#157B3D

#157B3D is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.130 H 150.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#157B3D
RGBrgb(21, 123, 61)
HSLhsl(144, 71%, 28%)
HSVhsv(144, 83%, 48%)
CMYKcmyk(82.9%, 0%, 50.4%, 51.8%)
CIE-LABlab(45.17, -42.41, 26.07)
CIE-LCHlch(45.17, 49.79, 148.42°)
OKLaboklab(51.31% -0.1139 0.0636)
OKLCHoklch(51.31% 0.13 150.8)
XYZxyz(8.2338, 14.6613, 6.8099)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B3D #7B1553
analogous
#207B15 #157B3D #157B70
triadic
#157B3D #3D157B #7B3D15
tetradic
#157B3D #15207B #7B1553 #7B7015
square
#157B3D #15207B #7B1553 #7B7015
split-complementary
#157B3D #70157B #7B1520
monochromatic
#041A0D #0C4723 #157B3D #1EAF57 #2FDB73

Accessibility & contrast

On white

5.34
#157B3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157B3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B3D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B3D#FFFFFF#000000##FFFFFF
##157B3D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7038
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b3d;
/* rgb */ color: rgb(21, 123, 61);
/* oklch */ color: oklch(51.3% 0.130 150.8);
Tailwind
colors: {
  custom: {
    50: '#66a273',
    500: '#157b3d',
    950: '#000000',
  },
}
SCSS
$custom: #157b3d;
$custom-light: #66a273;
$custom-dark: #000000;
JSON
{
  "hex": "#157b3d",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 61
  },
  "hsl": {
    "h": 143.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.13039,
    "h": 150.8
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#157B3D
secondary
#B03B83
accent
#3AA7EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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