#157B31#157B31

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

Color values

HEX#157B31
RGBrgb(21, 123, 49)
HSLhsl(136, 71%, 28%)
HSVhsv(136, 83%, 48%)
CMYKcmyk(82.9%, 0%, 60.2%, 51.8%)
CIE-LABlab(45.01, -44.33, 32.19)
CIE-LCHlch(45.01, 54.78, 144.02°)
OKLaboklab(51.12% -0.1191 0.0764)
OKLCHoklch(51.12% 0.142 147.3)
XYZxyz(7.9460, 14.5461, 5.2940)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B31 #7B155F
analogous
#2C7B15 #157B31 #157B64
triadic
#157B31 #31157B #7B3115
tetradic
#157B31 #152C7B #7B155F #7B6415
square
#157B31 #152C7B #7B155F #7B6415
split-complementary
#157B31 #64157B #7B152C
monochromatic
#041A0A #0C471C #157B31 #1EAF46 #2FDB5E

Accessibility & contrast

On white

5.37
#157B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#157B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B31
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B31#FFFFFF#000000##FFFFFF
##157B311.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F2A
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b31;
/* rgb */ color: rgb(21, 123, 49);
/* oklch */ color: oklch(51.1% 0.142 147.3);
Tailwind
colors: {
  custom: {
    50: '#66a26b',
    500: '#157b31',
    950: '#000000',
  },
}
SCSS
$custom: #157b31;
$custom-light: #66a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#157b31",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 136.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.14152,
    "h": 147.3
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#157B31
secondary
#B03B90
accent
#3ABCEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157B31

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

Preview Lab → · Contrast checker → · Palette generator →

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