#157B39#157B39

#157B39 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.134 H 149.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#157B39
RGBrgb(21, 123, 57)
HSLhsl(141, 71%, 28%)
HSVhsv(141, 83%, 48%)
CMYKcmyk(82.9%, 0%, 53.7%, 51.8%)
CIE-LABlab(45.11, -43.10, 28.15)
CIE-LCHlch(45.11, 51.48, 146.84°)
OKLaboklab(51.24% -0.1157 0.068)
OKLCHoklch(51.24% 0.134 149.5)
XYZxyz(8.1301, 14.6198, 6.2635)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B39 #7B1557
analogous
#247B15 #157B39 #157B6C
triadic
#157B39 #39157B #7B3915
tetradic
#157B39 #15247B #7B1557 #7B6C15
square
#157B39 #15247B #7B1557 #7B6C15
split-complementary
#157B39 #6C157B #7B1524
monochromatic
#041A0C #0C4721 #157B39 #1EAF51 #2FDB6C

Accessibility & contrast

On white

5.35
#157B39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#157B39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B39
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B39#FFFFFF#000000##FFFFFF
##157B391.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7033
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b39;
/* rgb */ color: rgb(21, 123, 57);
/* oklch */ color: oklch(51.2% 0.134 149.5);
Tailwind
colors: {
  custom: {
    50: '#66a271',
    500: '#157b39',
    950: '#000000',
  },
}
SCSS
$custom: #157b39;
$custom-light: #66a271;
$custom-dark: #000000;
JSON
{
  "hex": "#157b39",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 57
  },
  "hsl": {
    "h": 141.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.13422,
    "h": 149.5
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#157B39
secondary
#B03B87
accent
#3AAEEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B39

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

Preview Lab → · Contrast checker → · Palette generator →

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