#157340#157340

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

Color values

HEX#157340
RGBrgb(21, 115, 64)
HSLhsl(147, 69%, 27%)
HSVhsv(147, 82%, 45%)
CMYKcmyk(81.7%, 0%, 44.3%, 54.9%)
CIE-LABlab(42.45, -38.76, 20.92)
CIE-LCHlch(42.45, 44.04, 151.65°)
OKLaboklab(49.07% -0.1043 0.0518)
OKLCHoklch(49.07% 0.116 153.6)
XYZxyz(7.3647, 12.7902, 6.9301)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157340 #731548
analogous
#197315 #157340 #15736F
triadic
#157340 #401573 #734015
tetradic
#157340 #151973 #731548 #736F15
square
#157340 #151973 #731548 #736F15
split-complementary
#157340 #6F1573 #731519
monochromatic
#051A0E #0C3F23 #157340 #1EA75D #2AD87A

Accessibility & contrast

On white

5.90
#157340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157340
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157340#FFFFFF#000000##FFFFFF
##1573401.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157340;
/* rgb */ color: rgb(21, 115, 64);
/* oklch */ color: oklch(49.1% 0.116 153.6);
Tailwind
colors: {
  custom: {
    50: '#649c75',
    500: '#157340',
    950: '#000000',
  },
}
SCSS
$custom: #157340;
$custom-light: #649c75;
$custom-dark: #000000;
JSON
{
  "hex": "#157340",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 147.447,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49069,
    "c": 0.11642,
    "h": 153.6
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#157340
secondary
#A93B77
accent
#3C9BEC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157340

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

Preview Lab → · Contrast checker → · Palette generator →

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