#157236#157236

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

Color values

HEX#157236
RGBrgb(21, 114, 54)
HSLhsl(141, 69%, 26%)
HSVhsv(141, 82%, 45%)
CMYKcmyk(81.6%, 0%, 52.6%, 55.3%)
CIE-LABlab(41.94, -40.23, 25.84)
CIE-LCHlch(41.94, 47.82, 147.28°)
OKLaboklab(48.6% -0.108 0.0627)
OKLCHoklch(48.6% 0.125 149.9)
XYZxyz(6.9918, 12.4596, 5.5258)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157236 #721551
analogous
#237215 #157236 #157265
triadic
#157236 #361572 #723615
tetradic
#157236 #152372 #721551 #726515
square
#157236 #152372 #721551 #726515
split-complementary
#157236 #651572 #721523
monochromatic
#051A0C #0B3E1E #157236 #1FA64E #2AD867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157236#FFFFFF#000000##FFFFFF
##1572361.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)
#736731
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157236;
/* rgb */ color: rgb(21, 114, 54);
/* oklch */ color: oklch(48.6% 0.125 149.9);
Tailwind
colors: {
  custom: {
    50: '#649b6e',
    500: '#157236',
    950: '#000000',
  },
}
SCSS
$custom: #157236;
$custom-light: #649b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#157236",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 141.29,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.12492,
    "h": 149.9
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#157236
secondary
#A83B81
accent
#3CADEC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157236

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

Preview Lab → · Contrast checker → · Palette generator →

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