#157241#157241

#157241 is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.8% C 0.114 H 154.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#157241
RGBrgb(21, 114, 65)
HSLhsl(148, 69%, 26%)
HSVhsv(148, 82%, 45%)
CMYKcmyk(81.6%, 0%, 43%, 55.3%)
CIE-LABlab(42.12, -38.16, 19.91)
CIE-LCHlch(42.12, 43.04, 152.44°)
OKLaboklab(48.8% -0.1027 0.0495)
OKLCHoklch(48.8% 0.114 154.3)
XYZxyz(7.2800, 12.5748, 7.0435)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157241 #721546
analogous
#187215 #157241 #157270
triadic
#157241 #411572 #724115
tetradic
#157241 #151872 #721546 #727015
square
#157241 #151872 #721546 #727015
split-complementary
#157241 #701572 #721518
monochromatic
#051A0F #0B3E24 #157241 #1FA65E #2AD87C

Accessibility & contrast

On white

5.97
#157241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#157241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157241
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157241#FFFFFF#000000##FFFFFF
##1572411.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157241;
/* rgb */ color: rgb(21, 114, 65);
/* oklch */ color: oklch(48.8% 0.114 154.3);
Tailwind
colors: {
  custom: {
    50: '#649b76',
    500: '#157241',
    950: '#000000',
  },
}
SCSS
$custom: #157241;
$custom-light: #649b76;
$custom-dark: #000000;
JSON
{
  "hex": "#157241",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 65
  },
  "hsl": {
    "h": 148.387,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.11402,
    "h": 154.3
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#157241
secondary
#A83B74
accent
#3C99EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157241

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

Preview Lab → · Contrast checker → · Palette generator →

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