#157232#157232

#157232 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.129 H 148.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#157232
RGBrgb(21, 114, 50)
HSLhsl(139, 69%, 26%)
HSVhsv(139, 82%, 45%)
CMYKcmyk(81.6%, 0%, 56.1%, 55.3%)
CIE-LABlab(41.88, -40.89, 27.93)
CIE-LCHlch(41.88, 49.52, 145.66°)
OKLaboklab(48.53% -0.1099 0.0671)
OKLCHoklch(48.53% 0.129 148.6)
XYZxyz(6.9017, 12.4235, 5.0512)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157232 #721555
analogous
#277215 #157232 #157261
triadic
#157232 #321572 #723215
tetradic
#157232 #152772 #721555 #726115
square
#157232 #152772 #721555 #726115
split-complementary
#157232 #611572 #721527
monochromatic
#051A0B #0B3E1B #157232 #1FA649 #2AD860

Accessibility & contrast

On white

6.03
#157232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#157232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157232
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157232#FFFFFF#000000##FFFFFF
##1572321.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672C
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157232;
/* rgb */ color: rgb(21, 114, 50);
/* oklch */ color: oklch(48.5% 0.129 148.6);
Tailwind
colors: {
  custom: {
    50: '#649b6b',
    500: '#157232',
    950: '#000000',
  },
}
SCSS
$custom: #157232;
$custom-light: #649b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#157232",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 138.71,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.12873,
    "h": 148.6
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#157232
secondary
#A83B86
accent
#3CB5EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157232

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

Preview Lab → · Contrast checker → · Palette generator →

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