#157C2F#157C2F

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

Color values

HEX#157C2F
RGBrgb(21, 124, 47)
HSLhsl(135, 71%, 28%)
HSVhsv(135, 83%, 49%)
CMYKcmyk(83.1%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.33, -44.96, 33.56)
CIE-LCHlch(45.33, 56.11, 143.26°)
OKLaboklab(51.38% -0.1209 0.0792)
OKLCHoklch(51.38% 0.145 146.8)
XYZxyz(8.0294, 14.7790, 5.1182)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C2F #7C1562
analogous
#2E7C15 #157C2F #157C62
triadic
#157C2F #2F157C #7C2F15
tetradic
#157C2F #152E7C #7C1562 #7C6215
square
#157C2F #152E7C #7C1562 #7C6215
split-complementary
#157C2F #62157C #7C152E
monochromatic
#041A0A #0C481B #157C2F #1EB043 #30DC5B

Accessibility & contrast

On white

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

On black

3.96
#157C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157C2F#FFFFFF#000000##FFFFFF
##157C2F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157c2f;
/* rgb */ color: rgb(21, 124, 47);
/* oklch */ color: oklch(51.4% 0.145 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a36a',
    500: '#157c2f',
    950: '#000000',
  },
}
SCSS
$custom: #157c2f;
$custom-light: #67a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#157c2f",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 135.146,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.14453,
    "h": 146.8
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#157C2F
secondary
#B13C94
accent
#3AC0EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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