#157140#157140

#157140 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.114 H 154.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#157140
RGBrgb(21, 113, 64)
HSLhsl(148, 69%, 26%)
HSVhsv(148, 81%, 44%)
CMYKcmyk(81.4%, 0%, 43.4%, 55.7%)
CIE-LABlab(41.75, -37.96, 20.01)
CIE-LCHlch(41.75, 42.91, 152.21°)
OKLaboklab(48.49% -0.1022 0.0497)
OKLCHoklch(48.49% 0.114 154.1)
XYZxyz(7.1391, 12.3390, 6.8549)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157140 #711546
analogous
#187115 #157140 #15716E
triadic
#157140 #401571 #714015
tetradic
#157140 #151871 #711546 #716E15
square
#157140 #151871 #711546 #716E15
split-complementary
#157140 #6E1571 #711518
monochromatic
#051A0F #0B3D23 #157140 #1FA55D #29D77B

Accessibility & contrast

On white

6.06
#157140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#157140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157140
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157140#FFFFFF#000000##FFFFFF
##1571401.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157140;
/* rgb */ color: rgb(21, 113, 64);
/* oklch */ color: oklch(48.5% 0.114 154.1);
Tailwind
colors: {
  custom: {
    50: '#639b75',
    500: '#157140',
    950: '#000000',
  },
}
SCSS
$custom: #157140;
$custom-light: #639b75;
$custom-dark: #000000;
JSON
{
  "hex": "#157140",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 148.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.11361,
    "h": 154.1
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#157140
secondary
#A73B74
accent
#3C9AEB
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157140

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

Preview Lab → · Contrast checker → · Palette generator →

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