#157B45#157B45

#157B45 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.123 H 153.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#157B45
RGBrgb(21, 123, 69)
HSLhsl(148, 71%, 28%)
HSVhsv(148, 83%, 48%)
CMYKcmyk(82.9%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.30, -40.91, 21.81)
CIE-LCHlch(45.30, 46.36, 151.94°)
OKLaboklab(51.45% -0.11 0.054)
OKLCHoklch(51.45% 0.123 153.9)
XYZxyz(8.4656, 14.7540, 8.0307)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B45 #7B154B
analogous
#187B15 #157B45 #157B78
triadic
#157B45 #45157B #7B4515
tetradic
#157B45 #15187B #7B154B #7B7815
square
#157B45 #15187B #7B154B #7B7815
split-complementary
#157B45 #78157B #7B1518
monochromatic
#041A0F #0C4728 #157B45 #1EAF62 #2FDB80

Accessibility & contrast

On white

5.32
#157B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#157B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B45
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B45#FFFFFF#000000##FFFFFF
##157B451.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b45;
/* rgb */ color: rgb(21, 123, 69);
/* oklch */ color: oklch(51.5% 0.123 153.9);
Tailwind
colors: {
  custom: {
    50: '#66a279',
    500: '#157b45',
    950: '#000000',
  },
}
SCSS
$custom: #157b45;
$custom-light: #66a279;
$custom-dark: #000000;
JSON
{
  "hex": "#157b45",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 148.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.12258,
    "h": 153.9
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#157B45
secondary
#B03B79
accent
#3A99EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157B45

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

Preview Lab → · Contrast checker → · Palette generator →

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