#157B2C#157B2C

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

Color values

HEX#157B2C
RGBrgb(21, 123, 44)
HSLhsl(134, 71%, 28%)
HSVhsv(134, 83%, 48%)
CMYKcmyk(82.9%, 0%, 64.2%, 51.8%)
CIE-LABlab(44.95, -45.01, 34.59)
CIE-LCHlch(44.95, 56.76, 142.46°)
OKLaboklab(51.05% -0.1211 0.0811)
OKLCHoklch(51.05% 0.146 146.2)
XYZxyz(7.8463, 14.5062, 4.7688)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B2C #7B1564
analogous
#317B15 #157B2C #157B5F
triadic
#157B2C #2C157B #7B2C15
tetradic
#157B2C #15317B #7B1564 #7B5F15
square
#157B2C #15317B #7B1564 #7B5F15
split-complementary
#157B2C #5F157B #7B1531
monochromatic
#041A09 #0C4719 #157B2C #1EAF3F #2FDB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B2C#FFFFFF#000000##FFFFFF
##157B2C1.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)
#7D6F23
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b2c;
/* rgb */ color: rgb(21, 123, 44);
/* oklch */ color: oklch(51.1% 0.146 146.2);
Tailwind
colors: {
  custom: {
    50: '#67a268',
    500: '#157b2c',
    950: '#000000',
  },
}
SCSS
$custom: #157b2c;
$custom-light: #67a268;
$custom-dark: #000000;
JSON
{
  "hex": "#157b2c",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 133.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.14578,
    "h": 146.2
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#157B2C
secondary
#B03B96
accent
#3AC5EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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