#157239#157239

#157239 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.122 H 151.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#157239
RGBrgb(21, 114, 57)
HSLhsl(143, 69%, 26%)
HSVhsv(143, 82%, 45%)
CMYKcmyk(81.6%, 0%, 50%, 55.3%)
CIE-LABlab(41.98, -39.70, 24.25)
CIE-LCHlch(41.98, 46.52, 148.58°)
OKLaboklab(48.65% -0.1066 0.0592)
OKLCHoklch(48.65% 0.122 151)
XYZxyz(7.0645, 12.4886, 5.9083)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157239 #72154E
analogous
#207215 #157239 #157268
triadic
#157239 #391572 #723915
tetradic
#157239 #152072 #72154E #726815
square
#157239 #152072 #72154E #726815
split-complementary
#157239 #681572 #721520
monochromatic
#051A0D #0B3E1F #157239 #1FA653 #2AD86D

Accessibility & contrast

On white

6.00
#157239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#157239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157239
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157239#FFFFFF#000000##FFFFFF
##1572391.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157239;
/* rgb */ color: rgb(21, 114, 57);
/* oklch */ color: oklch(48.6% 0.122 151.0);
Tailwind
colors: {
  custom: {
    50: '#649b70',
    500: '#157239',
    950: '#000000',
  },
}
SCSS
$custom: #157239;
$custom-light: #649b70;
$custom-dark: #000000;
JSON
{
  "hex": "#157239",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 143.226,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.12198,
    "h": 151
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#157239
secondary
#A83B7E
accent
#3CA8EC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157239

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

Preview Lab → · Contrast checker → · Palette generator →

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