#157B2D#157B2D

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

Color values

HEX#157B2D
RGBrgb(21, 123, 45)
HSLhsl(134, 71%, 28%)
HSVhsv(134, 83%, 48%)
CMYKcmyk(82.9%, 0%, 63.4%, 51.8%)
CIE-LABlab(44.96, -44.88, 34.12)
CIE-LCHlch(44.96, 56.37, 142.76°)
OKLaboklab(51.07% -0.1208 0.0802)
OKLCHoklch(51.07% 0.145 146.4)
XYZxyz(7.8653, 14.5139, 4.8690)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B2D #7B1563
analogous
#307B15 #157B2D #157B60
triadic
#157B2D #2D157B #7B2D15
tetradic
#157B2D #15307B #7B1563 #7B6015
square
#157B2D #15307B #7B1563 #7B6015
split-complementary
#157B2D #60157B #7B1530
monochromatic
#041A0A #0C471A #157B2D #1EAF40 #2FDB58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B2D#FFFFFF#000000##FFFFFF
##157B2D1.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)
#7D6F24
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b2d;
/* rgb */ color: rgb(21, 123, 45);
/* oklch */ color: oklch(51.1% 0.145 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a269',
    500: '#157b2d',
    950: '#000000',
  },
}
SCSS
$custom: #157b2d;
$custom-light: #67a269;
$custom-dark: #000000;
JSON
{
  "hex": "#157b2d",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 134.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.14495,
    "h": 146.4
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#157B2D
secondary
#B03B95
accent
#3AC3EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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