#157C1E#157C1E

#157C1E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#157C1E
RGBrgb(21, 124, 30)
HSLhsl(125, 71%, 28%)
HSVhsv(125, 83%, 49%)
CMYKcmyk(83.1%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.18, -46.86, 40.98)
CIE-LCHlch(45.18, 62.26, 138.83°)
OKLaboklab(51.2% -0.1268 0.0929)
OKLCHoklch(51.2% 0.157 143.8)
XYZxyz(7.7507, 14.6675, 3.6507)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C1E #7C1573
analogous
#3F7C15 #157C1E #157C51
triadic
#157C1E #1E157C #7C1E15
tetradic
#157C1E #153F7C #7C1573 #7C5115
square
#157C1E #153F7C #7C1573 #7C5115
split-complementary
#157C1E #51157C #7C153F
monochromatic
#041A06 #0C4811 #157C1E #1EB02B #30DC3F

Accessibility & contrast

On white

5.34
#157C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C1E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C1E#FFFFFF#000000##FFFFFF
##157C1E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c1e;
/* rgb */ color: rgb(21, 124, 30);
/* oklch */ color: oklch(51.2% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a360',
    500: '#157c1e',
    950: '#000000',
  },
}
SCSS
$custom: #157c1e;
$custom-light: #68a360;
$custom-dark: #000000;
JSON
{
  "hex": "#157c1e",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 125.243,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.1572,
    "h": 143.8
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#157C1E
secondary
#B13CA7
accent
#3ADEEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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