#157542#157542

#157542 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.7% C 0.117 H 154.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#157542
RGBrgb(21, 117, 66)
HSLhsl(148, 70%, 27%)
HSVhsv(148, 82%, 46%)
CMYKcmyk(82.1%, 0%, 43.6%, 54.1%)
CIE-LABlab(43.17, -39.15, 20.73)
CIE-LCHlch(43.17, 44.30, 152.10°)
OKLaboklab(49.68% -0.1053 0.0514)
OKLCHoklch(49.68% 0.117 154)
XYZxyz(7.6532, 13.2744, 7.3121)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157542 #751548
analogous
#187515 #157542 #157572
triadic
#157542 #421575 #754215
tetradic
#157542 #151875 #751548 #757215
square
#157542 #151875 #751548 #757215
split-complementary
#157542 #721575 #751518
monochromatic
#051A0F #0C4125 #157542 #1EA95F #2BD97D

Accessibility & contrast

On white

5.75
#157542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#157542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157542
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157542#FFFFFF#000000##FFFFFF
##1575421.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #157542;
/* rgb */ color: rgb(21, 117, 66);
/* oklch */ color: oklch(49.7% 0.117 154.0);
Tailwind
colors: {
  custom: {
    50: '#649e77',
    500: '#157542',
    950: '#000000',
  },
}
SCSS
$custom: #157542;
$custom-light: #649e77;
$custom-dark: #000000;
JSON
{
  "hex": "#157542",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 66
  },
  "hsl": {
    "h": 148.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.11722,
    "h": 154
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#157542
secondary
#AB3B76
accent
#3B99EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157542

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

Preview Lab → · Contrast checker → · Palette generator →

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