#157C31#157C31

#157C31 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.143 H 147.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#157C31
RGBrgb(21, 124, 49)
HSLhsl(136, 71%, 28%)
HSVhsv(136, 83%, 49%)
CMYKcmyk(83.1%, 0%, 60.5%, 51.4%)
CIE-LABlab(45.35, -44.69, 32.59)
CIE-LCHlch(45.35, 55.31, 143.89°)
OKLaboklab(51.41% -0.1201 0.0773)
OKLCHoklch(51.41% 0.143 147.3)
XYZxyz(8.0707, 14.7955, 5.3356)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C31 #7C1560
analogous
#2C7C15 #157C31 #157C64
triadic
#157C31 #31157C #7C3115
tetradic
#157C31 #152C7C #7C1560 #7C6415
square
#157C31 #152C7C #7C1560 #7C6415
split-complementary
#157C31 #64157C #7C152C
monochromatic
#041A0A #0C481C #157C31 #1EB046 #30DC5E

Accessibility & contrast

On white

5.30
#157C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#157C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C31
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C31#FFFFFF#000000##FFFFFF
##157C311.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7029
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c31;
/* rgb */ color: rgb(21, 124, 49);
/* oklch */ color: oklch(51.4% 0.143 147.3);
Tailwind
colors: {
  custom: {
    50: '#67a36b',
    500: '#157c31',
    950: '#000000',
  },
}
SCSS
$custom: #157c31;
$custom-light: #67a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#157c31",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 136.311,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.14282,
    "h": 147.3
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#157C31
secondary
#B13C91
accent
#3ABDEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157C31

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

Preview Lab → · Contrast checker → · Palette generator →

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