#157240#157240

#157240 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.8% C 0.115 H 153.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#157240
RGBrgb(21, 114, 64)
HSLhsl(148, 69%, 26%)
HSVhsv(148, 82%, 45%)
CMYKcmyk(81.6%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.10, -38.36, 20.46)
CIE-LCHlch(42.10, 43.48, 151.92°)
OKLaboklab(48.78% -0.1032 0.0507)
OKLCHoklch(48.78% 0.115 153.8)
XYZxyz(7.2513, 12.5633, 6.8923)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157240 #721547
analogous
#197215 #157240 #15726F
triadic
#157240 #401572 #724015
tetradic
#157240 #151972 #721547 #726F15
square
#157240 #151972 #721547 #726F15
split-complementary
#157240 #6F1572 #721519
monochromatic
#051A0F #0B3E23 #157240 #1FA65D #2AD87A

Accessibility & contrast

On white

5.98
#157240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#157240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157240
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157240#FFFFFF#000000##FFFFFF
##1572401.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157240;
/* rgb */ color: rgb(21, 114, 64);
/* oklch */ color: oklch(48.8% 0.115 153.8);
Tailwind
colors: {
  custom: {
    50: '#649b75',
    500: '#157240',
    950: '#000000',
  },
}
SCSS
$custom: #157240;
$custom-light: #649b75;
$custom-dark: #000000;
JSON
{
  "hex": "#157240",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 147.742,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.11502,
    "h": 153.8
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#157240
secondary
#A83B76
accent
#3C9BEC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157240

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

Preview Lab → · Contrast checker → · Palette generator →

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