#157C27#157C27

#157C27 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.151 H 145.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#157C27
RGBrgb(21, 124, 39)
HSLhsl(130, 71%, 28%)
HSVhsv(130, 83%, 49%)
CMYKcmyk(83.1%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.25, -45.96, 37.26)
CIE-LCHlch(45.25, 59.16, 140.97°)
OKLaboklab(51.29% -0.1239 0.0862)
OKLCHoklch(51.29% 0.151 145.2)
XYZxyz(7.8826, 14.7203, 4.3449)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C27 #7C156A
analogous
#377C15 #157C27 #157C5A
triadic
#157C27 #27157C #7C2715
tetradic
#157C27 #15377C #7C156A #7C5A15
square
#157C27 #15377C #7C156A #7C5A15
split-complementary
#157C27 #5A157C #7C1537
monochromatic
#041A08 #0C4817 #157C27 #1EB037 #30DC4E

Accessibility & contrast

On white

5.32
#157C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C27
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C27#FFFFFF#000000##FFFFFF
##157C271.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c27;
/* rgb */ color: rgb(21, 124, 39);
/* oklch */ color: oklch(51.3% 0.151 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a365',
    500: '#157c27',
    950: '#000000',
  },
}
SCSS
$custom: #157c27;
$custom-light: #67a365;
$custom-dark: #000000;
JSON
{
  "hex": "#157c27",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 130.485,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.15098,
    "h": 145.2
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#157C27
secondary
#B13C9D
accent
#3ACEEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C27

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

Preview Lab → · Contrast checker → · Palette generator →

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