#157837#157837

#157837 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.132 H 149.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#157837
RGBrgb(21, 120, 55)
HSLhsl(141, 70%, 28%)
HSVhsv(141, 83%, 47%)
CMYKcmyk(82.5%, 0%, 54.2%, 52.9%)
CIE-LABlab(44.04, -42.32, 27.91)
CIE-LCHlch(44.04, 50.69, 146.59°)
OKLaboklab(50.35% -0.1136 0.0674)
OKLCHoklch(50.35% 0.132 149.3)
XYZxyz(7.7147, 13.8673, 5.8837)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157837 #781556
analogous
#247815 #157837 #157868
triadic
#157837 #371578 #783715
tetradic
#157837 #152478 #781556 #786815
square
#157837 #152478 #781556 #786815
split-complementary
#157837 #681578 #781524
monochromatic
#051A0C #0C441F #157837 #1EAC4F #2DDA69

Accessibility & contrast

On white

5.56
#157837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#157837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157837
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157837#FFFFFF#000000##FFFFFF
##1578371.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D31
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157837;
/* rgb */ color: rgb(21, 120, 55);
/* oklch */ color: oklch(50.3% 0.132 149.3);
Tailwind
colors: {
  custom: {
    50: '#65a06f',
    500: '#157837',
    950: '#000000',
  },
}
SCSS
$custom: #157837;
$custom-light: #65a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#157837",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 55
  },
  "hsl": {
    "h": 140.606,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.13209,
    "h": 149.3
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#157837
secondary
#AE3B86
accent
#3BB0ED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157837

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

Preview Lab → · Contrast checker → · Palette generator →

#157837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva