#157142#157142

#157142 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.5% C 0.112 H 155.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#157142
RGBrgb(21, 113, 66)
HSLhsl(149, 69%, 26%)
HSVhsv(149, 81%, 44%)
CMYKcmyk(81.4%, 0%, 41.6%, 55.7%)
CIE-LABlab(41.79, -37.55, 18.91)
CIE-LCHlch(41.79, 42.04, 153.27°)
OKLaboklab(48.54% -0.1012 0.0471)
OKLCHoklch(48.54% 0.112 155)
XYZxyz(7.1971, 12.3622, 7.1600)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157142 #711544
analogous
#167115 #157142 #157170
triadic
#157142 #421571 #714215
tetradic
#157142 #151671 #711544 #717015
square
#157142 #151671 #711544 #717015
split-complementary
#157142 #701571 #711516
monochromatic
#051A0F #0B3D24 #157142 #1FA560 #29D77E

Accessibility & contrast

On white

6.05
#157142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157142
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157142#FFFFFF#000000##FFFFFF
##1571421.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157142;
/* rgb */ color: rgb(21, 113, 66);
/* oklch */ color: oklch(48.5% 0.112 155.0);
Tailwind
colors: {
  custom: {
    50: '#639b77',
    500: '#157142',
    950: '#000000',
  },
}
SCSS
$custom: #157142;
$custom-light: #639b77;
$custom-dark: #000000;
JSON
{
  "hex": "#157142",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 149.348,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.11161,
    "h": 155
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#157142
secondary
#A73B72
accent
#3C96EB
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157142

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

Preview Lab → · Contrast checker → · Palette generator →

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