#157E2A#157E2A

#157E2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.151 H 145.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#157E2A
RGBrgb(21, 126, 42)
HSLhsl(132, 71%, 29%)
HSVhsv(132, 83%, 49%)
CMYKcmyk(83.3%, 0%, 66.7%, 50.6%)
CIE-LABlab(45.97, -46.30, 36.68)
CIE-LCHlch(45.97, 59.07, 141.61°)
OKLaboklab(51.9% -0.1247 0.0854)
OKLCHoklch(51.9% 0.151 145.6)
XYZxyz(8.1874, 15.2473, 4.7016)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E2A #7E1569
analogous
#357E15 #157E2A #157E5F
triadic
#157E2A #2A157E #7E2A15
tetradic
#157E2A #15357E #7E1569 #7E5F15
square
#157E2A #15357E #7E1569 #7E5F15
split-complementary
#157E2A #5F157E #7E1535
monochromatic
#041A09 #0C4A19 #157E2A #1EB23B #31DD53

Accessibility & contrast

On white

5.19
#157E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#157E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E2A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E2A#FFFFFF#000000##FFFFFF
##157E2A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e2a;
/* rgb */ color: rgb(21, 126, 42);
/* oklch */ color: oklch(51.9% 0.151 145.6);
Tailwind
colors: {
  custom: {
    50: '#68a467',
    500: '#157e2a',
    950: '#000000',
  },
}
SCSS
$custom: #157e2a;
$custom-light: #68a467;
$custom-dark: #000000;
JSON
{
  "hex": "#157e2a",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 132,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.15113,
    "h": 145.6
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#157E2A
secondary
#B33C9B
accent
#3ACAEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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