#157E1A#157E1A

#157E1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.162 H 143.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#157E1A
RGBrgb(21, 126, 26)
HSLhsl(123, 71%, 29%)
HSVhsv(123, 83%, 49%)
CMYKcmyk(83.3%, 0%, 79.4%, 50.6%)
CIE-LABlab(45.85, -47.86, 43.14)
CIE-LCHlch(45.85, 64.43, 137.96°)
OKLaboklab(51.75% -0.1297 0.0969)
OKLCHoklch(51.75% 0.162 143.2)
XYZxyz(7.9560, 15.1548, 3.4829)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E1A #7E1579
analogous
#457E15 #157E1A #157E4F
triadic
#157E1A #1A157E #7E1A15
tetradic
#157E1A #15457E #7E1579 #7E4F15
square
#157E1A #15457E #7E1579 #7E4F15
split-complementary
#157E1A #4F157E #7E1545
monochromatic
#041A05 #0C4A0F #157E1A #1EB225 #31DD39

Accessibility & contrast

On white

5.21
#157E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E1A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E1A#FFFFFF#000000##FFFFFF
##157E1A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e1a;
/* rgb */ color: rgb(21, 126, 26);
/* oklch */ color: oklch(51.8% 0.162 143.2);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#157e1a',
    950: '#000000',
  },
}
SCSS
$custom: #157e1a;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#157e1a",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 122.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.16186,
    "h": 143.2
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#157E1A
secondary
#B33CAD
accent
#3AE6EE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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