#157E2D#157E2D

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

Color values

HEX#157E2D
RGBrgb(21, 126, 45)
HSLhsl(134, 71%, 29%)
HSVhsv(134, 83%, 49%)
CMYKcmyk(83.3%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.00, -45.93, 35.30)
CIE-LCHlch(46.00, 57.93, 142.45°)
OKLaboklab(51.93% -0.1236 0.0827)
OKLCHoklch(51.93% 0.149 146.2)
XYZxyz(8.2431, 15.2696, 4.9950)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E2D #7E1566
analogous
#327E15 #157E2D #157E62
triadic
#157E2D #2D157E #7E2D15
tetradic
#157E2D #15327E #7E1566 #7E6215
square
#157E2D #15327E #7E1566 #7E6215
split-complementary
#157E2D #62157E #7E1532
monochromatic
#041A09 #0C4A1A #157E2D #1EB240 #31DD58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E2D#FFFFFF#000000##FFFFFF
##157E2D1.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)
#807224
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e2d;
/* rgb */ color: rgb(21, 126, 45);
/* oklch */ color: oklch(51.9% 0.149 146.2);
Tailwind
colors: {
  custom: {
    50: '#67a469',
    500: '#157e2d',
    950: '#000000',
  },
}
SCSS
$custom: #157e2d;
$custom-light: #67a469;
$custom-dark: #000000;
JSON
{
  "hex": "#157e2d",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 133.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.14873,
    "h": 146.2
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#157E2D
secondary
#B33C98
accent
#3AC5EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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