#157540#157540

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

Color values

HEX#157540
RGBrgb(21, 117, 64)
HSLhsl(147, 70%, 27%)
HSVhsv(147, 82%, 46%)
CMYKcmyk(82.1%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.14, -39.55, 21.82)
CIE-LCHlch(43.14, 45.17, 151.12°)
OKLaboklab(49.64% -0.1063 0.0539)
OKLCHoklch(49.64% 0.119 153.1)
XYZxyz(7.5953, 13.2513, 7.0069)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157540 #75154A
analogous
#1A7515 #157540 #157570
triadic
#157540 #401575 #754015
tetradic
#157540 #151A75 #75154A #757015
square
#157540 #151A75 #75154A #757015
split-complementary
#157540 #701575 #75151A
monochromatic
#051A0E #0C4124 #157540 #1EA95C #2BD979

Accessibility & contrast

On white

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

On black

3.65
#157540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157540#FFFFFF#000000##FFFFFF
##1575401.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157540;
/* rgb */ color: rgb(21, 117, 64);
/* oklch */ color: oklch(49.6% 0.119 153.1);
Tailwind
colors: {
  custom: {
    50: '#649e75',
    500: '#157540',
    950: '#000000',
  },
}
SCSS
$custom: #157540;
$custom-light: #649e75;
$custom-dark: #000000;
JSON
{
  "hex": "#157540",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 146.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.11922,
    "h": 153.1
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#157540
secondary
#AB3B79
accent
#3B9DEC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157540

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

Preview Lab → · Contrast checker → · Palette generator →

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