#157B3F#157B3F

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

Color values

HEX#157B3F
RGBrgb(21, 123, 63)
HSLhsl(145, 71%, 28%)
HSVhsv(145, 83%, 48%)
CMYKcmyk(82.9%, 0%, 48.8%, 51.8%)
CIE-LABlab(45.20, -42.05, 25.02)
CIE-LCHlch(45.20, 48.93, 149.25°)
OKLaboklab(51.34% -0.1129 0.0612)
OKLCHoklch(51.34% 0.128 151.5)
XYZxyz(8.2887, 14.6832, 7.0990)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B3F #7B1551
analogous
#1E7B15 #157B3F #157B72
triadic
#157B3F #3F157B #7B3F15
tetradic
#157B3F #151E7B #7B1551 #7B7215
square
#157B3F #151E7B #7B1551 #7B7215
split-complementary
#157B3F #72157B #7B151E
monochromatic
#041A0D #0C4724 #157B3F #1EAF5A #2FDB76

Accessibility & contrast

On white

5.33
#157B3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157B3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B3F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B3F#FFFFFF#000000##FFFFFF
##157B3F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703A
Deuteranopia (green-blind)
#706843
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b3f;
/* rgb */ color: rgb(21, 123, 63);
/* oklch */ color: oklch(51.3% 0.128 151.5);
Tailwind
colors: {
  custom: {
    50: '#66a275',
    500: '#157b3f',
    950: '#000000',
  },
}
SCSS
$custom: #157b3f;
$custom-light: #66a275;
$custom-dark: #000000;
JSON
{
  "hex": "#157b3f",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 63
  },
  "hsl": {
    "h": 144.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.12846,
    "h": 151.5
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#157B3F
secondary
#B03B80
accent
#3AA4EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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