#157B27#157B27

#157B27 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.150 H 145.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#157B27
RGBrgb(21, 123, 39)
HSLhsl(131, 71%, 28%)
HSVhsv(131, 83%, 48%)
CMYKcmyk(82.9%, 0%, 68.3%, 51.8%)
CIE-LABlab(44.90, -45.61, 36.88)
CIE-LCHlch(44.90, 58.66, 141.05°)
OKLaboklab(51% -0.123 0.0854)
OKLCHoklch(51% 0.15 145.2)
XYZxyz(7.7579, 14.4709, 4.3034)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B27 #7B1569
analogous
#367B15 #157B27 #157B5A
triadic
#157B27 #27157B #7B2715
tetradic
#157B27 #15367B #7B1569 #7B5A15
square
#157B27 #15367B #7B1569 #7B5A15
split-complementary
#157B27 #5A157B #7B1536
monochromatic
#041A08 #0C4716 #157B27 #1EAF38 #2FDB4D

Accessibility & contrast

On white

5.39
#157B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#157B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B27
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B27#FFFFFF#000000##FFFFFF
##157B271.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b27;
/* rgb */ color: rgb(21, 123, 39);
/* oklch */ color: oklch(51.0% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a265',
    500: '#157b27',
    950: '#000000',
  },
}
SCSS
$custom: #157b27;
$custom-light: #67a265;
$custom-dark: #000000;
JSON
{
  "hex": "#157b27",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 130.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.14975,
    "h": 145.2
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#157B27
secondary
#B03B9C
accent
#3ACEEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B27

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

Preview Lab → · Contrast checker → · Palette generator →

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