#157F36#157F36

#157F36 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.142 H 148.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#157F36
RGBrgb(21, 127, 54)
HSLhsl(139, 72%, 29%)
HSVhsv(139, 83%, 50%)
CMYKcmyk(83.5%, 0%, 57.5%, 50.2%)
CIE-LABlab(46.45, -45.03, 31.36)
CIE-LCHlch(46.45, 54.87, 145.15°)
OKLaboklab(52.34% -0.1209 0.0749)
OKLCHoklch(52.34% 0.142 148.2)
XYZxyz(8.5638, 15.6035, 6.0497)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F36 #7F155E
analogous
#297F15 #157F36 #157F6B
triadic
#157F36 #36157F #7F3615
tetradic
#157F36 #15297F #7F155E #7F6B15
square
#157F36 #15297F #7F155E #7F6B15
split-complementary
#157F36 #6B157F #7F1529
monochromatic
#041A0B #0C4A20 #157F36 #1EB44C #31DD67

Accessibility & contrast

On white

5.10
#157F36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#157F36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F36
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F36#FFFFFF#000000##FFFFFF
##157F361.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732F
Deuteranopia (green-blind)
#756B3C
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f36;
/* rgb */ color: rgb(21, 127, 54);
/* oklch */ color: oklch(52.3% 0.142 148.2);
Tailwind
colors: {
  custom: {
    50: '#67a56f',
    500: '#157f36',
    950: '#000000',
  },
}
SCSS
$custom: #157f36;
$custom-light: #67a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#157f36",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 54
  },
  "hsl": {
    "h": 138.679,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.14225,
    "h": 148.2
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#157F36
secondary
#B43C8F
accent
#39B6EE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157F36

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

Preview Lab → · Contrast checker → · Palette generator →

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