#157C2C#157C2C

#157C2C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.3% C 0.147 H 146.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#157C2C
RGBrgb(21, 124, 44)
HSLhsl(133, 71%, 28%)
HSVhsv(133, 83%, 49%)
CMYKcmyk(83.1%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.30, -45.36, 34.98)
CIE-LCHlch(45.30, 57.28, 142.36°)
OKLaboklab(51.34% -0.1221 0.082)
OKLCHoklch(51.34% 0.147 146.1)
XYZxyz(7.9709, 14.7556, 4.8104)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C2C #7C1565
analogous
#317C15 #157C2C #157C5F
triadic
#157C2C #2C157C #7C2C15
tetradic
#157C2C #15317C #7C1565 #7C5F15
square
#157C2C #15317C #7C1565 #7C5F15
split-complementary
#157C2C #5F157C #7C1531
monochromatic
#041A09 #0C4819 #157C2C #1EB03F #30DC56

Accessibility & contrast

On white

5.31
#157C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#157C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C2C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C2C#FFFFFF#000000##FFFFFF
##157C2C1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c2c;
/* rgb */ color: rgb(21, 124, 44);
/* oklch */ color: oklch(51.3% 0.147 146.1);
Tailwind
colors: {
  custom: {
    50: '#67a368',
    500: '#157c2c',
    950: '#000000',
  },
}
SCSS
$custom: #157c2c;
$custom-light: #67a368;
$custom-dark: #000000;
JSON
{
  "hex": "#157c2c",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 133.398,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.14704,
    "h": 146.1
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#157C2C
secondary
#B13C97
accent
#3AC6EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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