#157E2B#157E2B

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

Color values

HEX#157E2B
RGBrgb(21, 126, 43)
HSLhsl(133, 71%, 29%)
HSVhsv(133, 83%, 49%)
CMYKcmyk(83.3%, 0%, 65.9%, 50.6%)
CIE-LABlab(45.98, -46.18, 36.23)
CIE-LCHlch(45.98, 58.69, 141.88°)
OKLaboklab(51.91% -0.1243 0.0845)
OKLCHoklch(51.91% 0.15 145.8)
XYZxyz(8.2056, 15.2546, 4.7970)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E2B #7E1568
analogous
#347E15 #157E2B #157E60
triadic
#157E2B #2B157E #7E2B15
tetradic
#157E2B #15347E #7E1568 #7E6015
square
#157E2B #15347E #7E1568 #7E6015
split-complementary
#157E2B #60157E #7E1534
monochromatic
#041A09 #0C4A19 #157E2B #1EB23D #31DD55

Accessibility & contrast

On white

5.18
#157E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E2B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E2B#FFFFFF#000000##FFFFFF
##157E2B1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e2b;
/* rgb */ color: rgb(21, 126, 43);
/* oklch */ color: oklch(51.9% 0.150 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a468',
    500: '#157e2b',
    950: '#000000',
  },
}
SCSS
$custom: #157e2b;
$custom-light: #68a468;
$custom-dark: #000000;
JSON
{
  "hex": "#157e2b",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 132.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.15034,
    "h": 145.8
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#157E2B
secondary
#B33C9A
accent
#3AC8EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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