#157B2E#157B2E

#157B2E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.144 H 146.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#157B2E
RGBrgb(21, 123, 46)
HSLhsl(135, 71%, 28%)
HSVhsv(135, 83%, 48%)
CMYKcmyk(82.9%, 0%, 62.6%, 51.8%)
CIE-LABlab(44.97, -44.74, 33.64)
CIE-LCHlch(44.97, 55.98, 143.06°)
OKLaboklab(51.08% -0.1204 0.0793)
OKLCHoklch(51.08% 0.144 146.6)
XYZxyz(7.8848, 14.5216, 4.9716)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B2E #7B1562
analogous
#2F7B15 #157B2E #157B61
triadic
#157B2E #2E157B #7B2E15
tetradic
#157B2E #152F7B #7B1562 #7B6115
square
#157B2E #152F7B #7B1562 #7B6115
split-complementary
#157B2E #61157B #7B152F
monochromatic
#041A0A #0C471A #157B2E #1EAF42 #2FDB59

Accessibility & contrast

On white

5.38
#157B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#157B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B2E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B2E#FFFFFF#000000##FFFFFF
##157B2E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b2e;
/* rgb */ color: rgb(21, 123, 46);
/* oklch */ color: oklch(51.1% 0.144 146.6);
Tailwind
colors: {
  custom: {
    50: '#67a269',
    500: '#157b2e',
    950: '#000000',
  },
}
SCSS
$custom: #157b2e;
$custom-light: #67a269;
$custom-dark: #000000;
JSON
{
  "hex": "#157b2e",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 134.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.14411,
    "h": 146.6
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#157B2E
secondary
#B03B94
accent
#3AC2EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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