#157A27#157A27

#157A27 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.149 H 145.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#157A27
RGBrgb(21, 122, 39)
HSLhsl(131, 71%, 28%)
HSVhsv(131, 83%, 48%)
CMYKcmyk(82.8%, 0%, 68%, 52.2%)
CIE-LABlab(44.55, -45.27, 36.49)
CIE-LCHlch(44.55, 58.15, 141.13°)
OKLaboklab(50.71% -0.122 0.0846)
OKLCHoklch(50.71% 0.149 145.3)
XYZxyz(7.6345, 14.2241, 4.2622)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A27 #7A1568
analogous
#357A15 #157A27 #157A59
triadic
#157A27 #27157A #7A2715
tetradic
#157A27 #15357A #7A1568 #7A5915
square
#157A27 #15357A #7A1568 #7A5915
split-complementary
#157A27 #59157A #7A1535
monochromatic
#041A08 #0C4616 #157A27 #1EAE38 #2EDB4D

Accessibility & contrast

On white

5.46
#157A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#157A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A27
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A27#FFFFFF#000000##FFFFFF
##157A271.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1D
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a27;
/* rgb */ color: rgb(21, 122, 39);
/* oklch */ color: oklch(50.7% 0.149 145.3);
Tailwind
colors: {
  custom: {
    50: '#67a165',
    500: '#157a27',
    950: '#000000',
  },
}
SCSS
$custom: #157a27;
$custom-light: #67a165;
$custom-dark: #000000;
JSON
{
  "hex": "#157a27",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 130.693,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.14852,
    "h": 145.3
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#157A27
secondary
#AF3B9B
accent
#3ACDED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A27

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

Preview Lab → · Contrast checker → · Palette generator →

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