#157E30#157E30

#157E30 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.146 H 146.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#157E30
RGBrgb(21, 126, 48)
HSLhsl(135, 71%, 29%)
HSVhsv(135, 83%, 49%)
CMYKcmyk(83.3%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.03, -45.53, 33.88)
CIE-LCHlch(46.03, 56.76, 143.34°)
OKLaboklab(51.97% -0.1224 0.08)
OKLCHoklch(51.97% 0.146 146.9)
XYZxyz(8.3030, 15.2935, 5.3101)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E30 #7E1563
analogous
#2E7E15 #157E30 #157E65
triadic
#157E30 #30157E #7E3015
tetradic
#157E30 #152E7E #7E1563 #7E6515
square
#157E30 #152E7E #7E1563 #7E6515
split-complementary
#157E30 #65157E #7E152E
monochromatic
#041A0A #0C4A1C #157E30 #1EB244 #31DD5D

Accessibility & contrast

On white

5.17
#157E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#157E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E30
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E30#FFFFFF#000000##FFFFFF
##157E301.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e30;
/* rgb */ color: rgb(21, 126, 48);
/* oklch */ color: oklch(52.0% 0.146 146.9);
Tailwind
colors: {
  custom: {
    50: '#67a46b',
    500: '#157e30',
    950: '#000000',
  },
}
SCSS
$custom: #157e30;
$custom-light: #67a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#157e30",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 135.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.14623,
    "h": 146.9
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#157E30
secondary
#B33C94
accent
#3AC0EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157E30

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

Preview Lab → · Contrast checker → · Palette generator →

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