#157C2D#157C2D

#157C2D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.146 H 146.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#157C2D
RGBrgb(21, 124, 45)
HSLhsl(134, 71%, 28%)
HSVhsv(134, 83%, 49%)
CMYKcmyk(83.1%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.31, -45.23, 34.51)
CIE-LCHlch(45.31, 56.89, 142.65°)
OKLaboklab(51.36% -0.1217 0.081)
OKLCHoklch(51.36% 0.146 146.3)
XYZxyz(7.9900, 14.7632, 4.9106)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C2D #7C1564
analogous
#307C15 #157C2D #157C60
triadic
#157C2D #2D157C #7C2D15
tetradic
#157C2D #15307C #7C1564 #7C6015
square
#157C2D #15307C #7C1564 #7C6015
split-complementary
#157C2D #60157C #7C1530
monochromatic
#041A09 #0C481A #157C2D #1EB040 #30DC58

Accessibility & contrast

On white

5.31
#157C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#157C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C2D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C2D#FFFFFF#000000##FFFFFF
##157C2D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c2d;
/* rgb */ color: rgb(21, 124, 45);
/* oklch */ color: oklch(51.4% 0.146 146.3);
Tailwind
colors: {
  custom: {
    50: '#67a369',
    500: '#157c2d',
    950: '#000000',
  },
}
SCSS
$custom: #157c2d;
$custom-light: #67a369;
$custom-dark: #000000;
JSON
{
  "hex": "#157c2d",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 133.981,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.14622,
    "h": 146.3
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#157C2D
secondary
#B13C96
accent
#3AC4EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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