#157C45#157C45

#157C45 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.124 H 153.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#157C45
RGBrgb(21, 124, 69)
HSLhsl(148, 71%, 28%)
HSVhsv(148, 83%, 49%)
CMYKcmyk(83.1%, 0%, 44.4%, 51.4%)
CIE-LABlab(45.64, -41.30, 22.25)
CIE-LCHlch(45.64, 46.91, 151.68°)
OKLaboklab(51.74% -0.111 0.0551)
OKLCHoklch(51.74% 0.124 153.6)
XYZxyz(8.5903, 15.0033, 8.0723)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C45 #7C154C
analogous
#197C15 #157C45 #157C78
triadic
#157C45 #45157C #7C4515
tetradic
#157C45 #15197C #7C154C #7C7815
square
#157C45 #15197C #7C154C #7C7815
split-complementary
#157C45 #78157C #7C1519
monochromatic
#041A0F #0C4828 #157C45 #1EB062 #30DC80

Accessibility & contrast

On white

5.25
#157C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#157C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C45
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C45#FFFFFF#000000##FFFFFF
##157C451.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c45;
/* rgb */ color: rgb(21, 124, 69);
/* oklch */ color: oklch(51.7% 0.124 153.6);
Tailwind
colors: {
  custom: {
    50: '#66a379',
    500: '#157c45',
    950: '#000000',
  },
}
SCSS
$custom: #157c45;
$custom-light: #66a379;
$custom-dark: #000000;
JSON
{
  "hex": "#157c45",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 147.961,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.12395,
    "h": 153.6
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#157C45
secondary
#B13C7A
accent
#3A9AEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157C45

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

Preview Lab → · Contrast checker → · Palette generator →

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