#157A35#157A35

#157A35 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.137 H 148.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#157A35
RGBrgb(21, 122, 53)
HSLhsl(139, 71%, 28%)
HSVhsv(139, 83%, 48%)
CMYKcmyk(82.8%, 0%, 56.6%, 52.2%)
CIE-LABlab(44.71, -43.37, 29.78)
CIE-LCHlch(44.71, 52.61, 145.53°)
OKLaboklab(50.89% -0.1165 0.0714)
OKLCHoklch(50.89% 0.137 148.5)
XYZxyz(7.9108, 14.3346, 5.7174)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A35 #7A155A
analogous
#277A15 #157A35 #157A67
triadic
#157A35 #35157A #7A3515
tetradic
#157A35 #15277A #7A155A #7A6715
square
#157A35 #15277A #7A155A #7A6715
split-complementary
#157A35 #67157A #7A1527
monochromatic
#041A0B #0C461E #157A35 #1EAE4C #2EDB65

Accessibility & contrast

On white

5.43
#157A35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#157A35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A35
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A35#FFFFFF#000000##FFFFFF
##157A351.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2F
Deuteranopia (green-blind)
#70673A
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a35;
/* rgb */ color: rgb(21, 122, 53);
/* oklch */ color: oklch(50.9% 0.137 148.5);
Tailwind
colors: {
  custom: {
    50: '#66a16e',
    500: '#157a35',
    950: '#000000',
  },
}
SCSS
$custom: #157a35;
$custom-light: #66a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#157a35",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 53
  },
  "hsl": {
    "h": 139.01,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.13662,
    "h": 148.5
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#157A35
secondary
#AF3B8B
accent
#3AB5ED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A35

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

Preview Lab → · Contrast checker → · Palette generator →

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