#157342#157342

#157342 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.114 H 154.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#157342
RGBrgb(21, 115, 66)
HSLhsl(149, 69%, 27%)
HSVhsv(149, 82%, 45%)
CMYKcmyk(81.7%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.48, -38.35, 19.82)
CIE-LCHlch(42.48, 43.17, 152.67°)
OKLaboklab(49.11% -0.1033 0.0493)
OKLCHoklch(49.11% 0.114 154.5)
XYZxyz(7.4227, 12.8133, 7.2352)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157342 #731546
analogous
#177315 #157342 #157371
triadic
#157342 #421573 #734215
tetradic
#157342 #151773 #731546 #737115
square
#157342 #151773 #731546 #737115
split-complementary
#157342 #711573 #731517
monochromatic
#051A0F #0C3F24 #157342 #1EA760 #2AD87D

Accessibility & contrast

On white

5.89
#157342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#157342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157342
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157342#FFFFFF#000000##FFFFFF
##1573421.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157342;
/* rgb */ color: rgb(21, 115, 66);
/* oklch */ color: oklch(49.1% 0.114 154.5);
Tailwind
colors: {
  custom: {
    50: '#649c77',
    500: '#157342',
    950: '#000000',
  },
}
SCSS
$custom: #157342;
$custom-light: #649c77;
$custom-dark: #000000;
JSON
{
  "hex": "#157342",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 148.723,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.11442,
    "h": 154.5
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#157342
secondary
#A93B74
accent
#3C98EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157342

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

Preview Lab → · Contrast checker → · Palette generator →

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