#157E2C#157E2C

#157E2C is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.150 H 146.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#157E2C
RGBrgb(21, 126, 44)
HSLhsl(133, 71%, 29%)
HSVhsv(133, 83%, 49%)
CMYKcmyk(83.3%, 0%, 65.1%, 50.6%)
CIE-LABlab(45.99, -46.05, 35.77)
CIE-LCHlch(45.99, 58.31, 142.17°)
OKLaboklab(51.92% -0.124 0.0836)
OKLCHoklch(51.92% 0.15 146)
XYZxyz(8.2241, 15.2620, 4.8948)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E2C #7E1567
analogous
#337E15 #157E2C #157E61
triadic
#157E2C #2C157E #7E2C15
tetradic
#157E2C #15337E #7E1567 #7E6115
square
#157E2C #15337E #7E1567 #7E6115
split-complementary
#157E2C #61157E #7E1533
monochromatic
#041A09 #0C4A1A #157E2C #1EB23E #31DD56

Accessibility & contrast

On white

5.18
#157E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E2C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E2C#FFFFFF#000000##FFFFFF
##157E2C1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e2c;
/* rgb */ color: rgb(21, 126, 44);
/* oklch */ color: oklch(51.9% 0.150 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a469',
    500: '#157e2c',
    950: '#000000',
  },
}
SCSS
$custom: #157e2c;
$custom-light: #68a469;
$custom-dark: #000000;
JSON
{
  "hex": "#157e2c",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 133.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.14954,
    "h": 146
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#157E2C
secondary
#B33C99
accent
#3AC7EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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