#157E28#157E28

#157E28 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.153 H 145.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#157E28
RGBrgb(21, 126, 40)
HSLhsl(131, 71%, 29%)
HSVhsv(131, 83%, 49%)
CMYKcmyk(83.3%, 0%, 68.3%, 50.6%)
CIE-LABlab(45.95, -46.53, 37.58)
CIE-LCHlch(45.95, 59.81, 141.08°)
OKLaboklab(51.87% -0.1254 0.087)
OKLCHoklch(51.87% 0.153 145.2)
XYZxyz(8.1525, 15.2333, 4.5177)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E28 #7E156B
analogous
#377E15 #157E28 #157E5D
triadic
#157E28 #28157E #7E2815
tetradic
#157E28 #15377E #7E156B #7E5D15
square
#157E28 #15377E #7E156B #7E5D15
split-complementary
#157E28 #5D157E #7E1537
monochromatic
#041A08 #0C4A17 #157E28 #1EB239 #31DD50

Accessibility & contrast

On white

5.19
#157E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#157E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E28
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E28#FFFFFF#000000##FFFFFF
##157E281.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e28;
/* rgb */ color: rgb(21, 126, 40);
/* oklch */ color: oklch(51.9% 0.153 145.2);
Tailwind
colors: {
  custom: {
    50: '#68a466',
    500: '#157e28',
    950: '#000000',
  },
}
SCSS
$custom: #157e28;
$custom-light: #68a466;
$custom-dark: #000000;
JSON
{
  "hex": "#157e28",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 130.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.15267,
    "h": 145.2
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#157E28
secondary
#B33C9D
accent
#3ACEEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E28

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

Preview Lab → · Contrast checker → · Palette generator →

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