#157E2E#157E2E

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

Color values

HEX#157E2E
RGBrgb(21, 126, 46)
HSLhsl(134, 71%, 29%)
HSVhsv(134, 83%, 49%)
CMYKcmyk(83.3%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.01, -45.80, 34.83)
CIE-LCHlch(46.01, 57.54, 142.74°)
OKLaboklab(51.94% -0.1232 0.0818)
OKLCHoklch(51.94% 0.148 146.4)
XYZxyz(8.2626, 15.2774, 5.0976)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E2E #7E1565
analogous
#317E15 #157E2E #157E63
triadic
#157E2E #2E157E #7E2E15
tetradic
#157E2E #15317E #7E1565 #7E6315
square
#157E2E #15317E #7E1565 #7E6315
split-complementary
#157E2E #63157E #7E1531
monochromatic
#041A0A #0C4A1B #157E2E #1EB241 #31DD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E2E#FFFFFF#000000##FFFFFF
##157E2E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e2e;
/* rgb */ color: rgb(21, 126, 46);
/* oklch */ color: oklch(51.9% 0.148 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a46a',
    500: '#157e2e',
    950: '#000000',
  },
}
SCSS
$custom: #157e2e;
$custom-light: #67a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#157e2e",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 134.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.14791,
    "h": 146.4
  },
  "luminance": 0.15278
}

Semantic roles & 50–950 ramp

primary
#157E2E
secondary
#B33C97
accent
#3AC3EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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