#157C39#157C39

#157C39 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.136 H 149.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157C39
RGBrgb(21, 124, 57)
HSLhsl(141, 71%, 28%)
HSVhsv(141, 83%, 49%)
CMYKcmyk(83.1%, 0%, 54%, 51.4%)
CIE-LABlab(45.45, -43.47, 28.58)
CIE-LCHlch(45.45, 52.02, 146.67°)
OKLaboklab(51.52% -0.1167 0.069)
OKLCHoklch(51.52% 0.136 149.4)
XYZxyz(8.2547, 14.8691, 6.3051)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C39 #7C1558
analogous
#247C15 #157C39 #157C6C
triadic
#157C39 #39157C #7C3915
tetradic
#157C39 #15247C #7C1558 #7C6C15
square
#157C39 #15247C #7C1558 #7C6C15
split-complementary
#157C39 #6C157C #7C1524
monochromatic
#041A0C #0C4821 #157C39 #1EB051 #30DC6C

Accessibility & contrast

On white

5.28
#157C39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#157C39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C39
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C39#FFFFFF#000000##FFFFFF
##157C391.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7033
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c39;
/* rgb */ color: rgb(21, 124, 57);
/* oklch */ color: oklch(51.5% 0.136 149.4);
Tailwind
colors: {
  custom: {
    50: '#66a371',
    500: '#157c39',
    950: '#000000',
  },
}
SCSS
$custom: #157c39;
$custom-light: #66a371;
$custom-dark: #000000;
JSON
{
  "hex": "#157c39",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 57
  },
  "hsl": {
    "h": 140.971,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.13555,
    "h": 149.4
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

primary
#157C39
secondary
#B13C88
accent
#3AAFEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157C39

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

Preview Lab → · Contrast checker → · Palette generator →

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