#157F27#157F27

#157F27 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.155 H 145.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#157F27
RGBrgb(21, 127, 39)
HSLhsl(130, 72%, 29%)
HSVhsv(130, 83%, 50%)
CMYKcmyk(83.5%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.29, -46.98, 38.39)
CIE-LCHlch(46.29, 60.67, 140.75°)
OKLaboklab(52.15% -0.1267 0.0886)
OKLCHoklch(52.15% 0.155 145)
XYZxyz(8.2642, 15.4836, 4.4721)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F27 #7F156D
analogous
#387F15 #157F27 #157F5C
triadic
#157F27 #27157F #7F2715
tetradic
#157F27 #15387F #7F156D #7F5C15
square
#157F27 #15387F #7F156D #7F5C15
split-complementary
#157F27 #5C157F #7F1538
monochromatic
#041A08 #0C4A17 #157F27 #1EB437 #31DD4F

Accessibility & contrast

On white

5.13
#157F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#157F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F27
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F27#FFFFFF#000000##FFFFFF
##157F271.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f27;
/* rgb */ color: rgb(21, 127, 39);
/* oklch */ color: oklch(52.2% 0.155 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a566',
    500: '#157f27',
    950: '#000000',
  },
}
SCSS
$custom: #157f27;
$custom-light: #68a566;
$custom-dark: #000000;
JSON
{
  "hex": "#157f27",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 130.189,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.15463,
    "h": 145
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#157F27
secondary
#B43CA0
accent
#39D0EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F27

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

Preview Lab → · Contrast checker → · Palette generator →

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