#157F30#157F30

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

Color values

HEX#157F30
RGBrgb(21, 127, 48)
HSLhsl(135, 72%, 29%)
HSVhsv(135, 83%, 50%)
CMYKcmyk(83.5%, 0%, 62.2%, 50.2%)
CIE-LABlab(46.38, -45.88, 34.28)
CIE-LCHlch(46.38, 57.28, 143.23°)
OKLaboklab(52.26% -0.1234 0.0808)
OKLCHoklch(52.26% 0.147 146.8)
XYZxyz(8.4315, 15.5505, 5.3529)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F30 #7F1564
analogous
#2F7F15 #157F30 #157F65
triadic
#157F30 #30157F #7F3015
tetradic
#157F30 #152F7F #7F1564 #7F6515
square
#157F30 #152F7F #7F1564 #7F6515
split-complementary
#157F30 #65157F #7F152F
monochromatic
#041A0A #0C4A1C #157F30 #1EB444 #31DD5D

Accessibility & contrast

On white

5.11
#157F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#157F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F30
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F30#FFFFFF#000000##FFFFFF
##157F301.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817328
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f30;
/* rgb */ color: rgb(21, 127, 48);
/* oklch */ color: oklch(52.3% 0.147 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a56b',
    500: '#157f30',
    950: '#000000',
  },
}
SCSS
$custom: #157f30;
$custom-light: #68a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#157f30",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 48
  },
  "hsl": {
    "h": 135.283,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.14749,
    "h": 146.8
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#157F30
secondary
#B43C95
accent
#39C0EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157F30

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

Preview Lab → · Contrast checker → · Palette generator →

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