#157C30#157C30

#157C30 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.144 H 147.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#157C30
RGBrgb(21, 124, 48)
HSLhsl(136, 71%, 28%)
HSVhsv(136, 83%, 49%)
CMYKcmyk(83.1%, 0%, 61.3%, 51.4%)
CIE-LABlab(45.34, -44.83, 33.08)
CIE-LCHlch(45.34, 55.71, 143.57°)
OKLaboklab(51.39% -0.1205 0.0782)
OKLCHoklch(51.39% 0.144 147)
XYZxyz(8.0498, 14.7872, 5.2257)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C30 #7C1561
analogous
#2D7C15 #157C30 #157C63
triadic
#157C30 #30157C #7C3015
tetradic
#157C30 #152D7C #7C1561 #7C6315
square
#157C30 #152D7C #7C1561 #7C6315
split-complementary
#157C30 #63157C #7C152D
monochromatic
#041A0A #0C481C #157C30 #1EB044 #30DC5D

Accessibility & contrast

On white

5.31
#157C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#157C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C30
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C30#FFFFFF#000000##FFFFFF
##157C301.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c30;
/* rgb */ color: rgb(21, 124, 48);
/* oklch */ color: oklch(51.4% 0.144 147.0);
Tailwind
colors: {
  custom: {
    50: '#67a36b',
    500: '#157c30',
    950: '#000000',
  },
}
SCSS
$custom: #157c30;
$custom-light: #67a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#157c30",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 48
  },
  "hsl": {
    "h": 135.728,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.14368,
    "h": 147
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#157C30
secondary
#B13C92
accent
#3ABFEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157C30

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

Preview Lab → · Contrast checker → · Palette generator →

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