#157E27#157E27

#157E27 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.153 H 145.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#157E27
RGBrgb(21, 126, 39)
HSLhsl(130, 71%, 29%)
HSVhsv(130, 83%, 49%)
CMYKcmyk(83.3%, 0%, 69%, 50.6%)
CIE-LABlab(45.94, -46.64, 38.01)
CIE-LCHlch(45.94, 60.17, 140.82°)
OKLaboklab(51.86% -0.1258 0.0879)
OKLCHoklch(51.86% 0.153 145.1)
XYZxyz(8.1357, 15.2266, 4.4293)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E27 #7E156C
analogous
#387E15 #157E27 #157E5C
triadic
#157E27 #27157E #7E2715
tetradic
#157E27 #15387E #7E156C #7E5C15
square
#157E27 #15387E #7E156C #7E5C15
split-complementary
#157E27 #5C157E #7E1538
monochromatic
#041A08 #0C4A17 #157E27 #1EB237 #31DD4E

Accessibility & contrast

On white

5.19
#157E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#157E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E27
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E27#FFFFFF#000000##FFFFFF
##157E271.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721B
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e27;
/* rgb */ color: rgb(21, 126, 39);
/* oklch */ color: oklch(51.9% 0.153 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a466',
    500: '#157e27',
    950: '#000000',
  },
}
SCSS
$custom: #157e27;
$custom-light: #68a466;
$custom-dark: #000000;
JSON
{
  "hex": "#157e27",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 130.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.15342,
    "h": 145.1
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#157E27
secondary
#B33C9F
accent
#3ACFEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E27

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

Preview Lab → · Contrast checker → · Palette generator →

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