#157237#157237

#157237 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.124 H 150.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#157237
RGBrgb(21, 114, 55)
HSLhsl(142, 69%, 26%)
HSVhsv(142, 82%, 45%)
CMYKcmyk(81.6%, 0%, 51.8%, 55.3%)
CIE-LABlab(41.95, -40.05, 25.32)
CIE-LCHlch(41.95, 47.38, 147.71°)
OKLaboklab(48.61% -0.1076 0.0616)
OKLCHoklch(48.61% 0.124 150.2)
XYZxyz(7.0156, 12.4690, 5.6507)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157237 #721550
analogous
#227215 #157237 #157266
triadic
#157237 #371572 #723715
tetradic
#157237 #152272 #721550 #726615
square
#157237 #152272 #721550 #726615
split-complementary
#157237 #661572 #721522
monochromatic
#051A0C #0B3E1E #157237 #1FA650 #2AD869

Accessibility & contrast

On white

6.01
#157237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#157237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157237
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157237#FFFFFF#000000##FFFFFF
##1572371.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736732
Deuteranopia (green-blind)
#68603B
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157237;
/* rgb */ color: rgb(21, 114, 55);
/* oklch */ color: oklch(48.6% 0.124 150.2);
Tailwind
colors: {
  custom: {
    50: '#649b6f',
    500: '#157237',
    950: '#000000',
  },
}
SCSS
$custom: #157237;
$custom-light: #649b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#157237",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 55
  },
  "hsl": {
    "h": 141.935,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48613,
    "c": 0.12394,
    "h": 150.2
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#157237
secondary
#A83B80
accent
#3CACEC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157237

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

Preview Lab → · Contrast checker → · Palette generator →

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