#157728#157728

#157728 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.144 H 145.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#157728
RGBrgb(21, 119, 40)
HSLhsl(132, 70%, 27%)
HSVhsv(132, 82%, 47%)
CMYKcmyk(82.4%, 0%, 66.4%, 53.3%)
CIE-LABlab(43.52, -44.11, 34.88)
CIE-LCHlch(43.52, 56.23, 141.66°)
OKLaboklab(49.85% -0.1188 0.0813)
OKLCHoklch(49.85% 0.144 145.6)
XYZxyz(7.2886, 13.5054, 4.2297)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157728 #771564
analogous
#337715 #157728 #157759
triadic
#157728 #281577 #772815
tetradic
#157728 #153377 #771564 #775915
square
#157728 #153377 #771564 #775915
split-complementary
#157728 #591577 #771533
monochromatic
#051A09 #0C4317 #157728 #1EAB39 #2DDA4E

Accessibility & contrast

On white

5.67
#157728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#157728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157728
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157728#FFFFFF#000000##FFFFFF
##1577281.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #157728;
/* rgb */ color: rgb(21, 119, 40);
/* oklch */ color: oklch(49.9% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#669f65',
    500: '#157728',
    950: '#000000',
  },
}
SCSS
$custom: #157728;
$custom-light: #669f65;
$custom-dark: #000000;
JSON
{
  "hex": "#157728",
  "rgb": {
    "r": 21,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 131.633,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.144,
    "h": 145.6
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#157728
secondary
#AD3B97
accent
#3BCAED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #157728

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

Preview Lab → · Contrast checker → · Palette generator →

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