#157242#157242

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

Color values

HEX#157242
RGBrgb(21, 114, 66)
HSLhsl(149, 69%, 26%)
HSVhsv(149, 82%, 45%)
CMYKcmyk(81.6%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.13, -37.95, 19.36)
CIE-LCHlch(42.13, 42.61, 152.97°)
OKLaboklab(48.82% -0.1022 0.0482)
OKLCHoklch(48.82% 0.113 154.8)
XYZxyz(7.3092, 12.5865, 7.1974)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157242 #721545
analogous
#177215 #157242 #157271
triadic
#157242 #421572 #724215
tetradic
#157242 #151772 #721545 #727115
square
#157242 #151772 #721545 #727115
split-complementary
#157242 #711572 #721517
monochromatic
#051A0F #0B3E24 #157242 #1FA660 #2AD87E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157242#FFFFFF#000000##FFFFFF
##1572421.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)
#72683F
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157242;
/* rgb */ color: rgb(21, 114, 66);
/* oklch */ color: oklch(48.8% 0.113 154.8);
Tailwind
colors: {
  custom: {
    50: '#649b77',
    500: '#157242',
    950: '#000000',
  },
}
SCSS
$custom: #157242;
$custom-light: #649b77;
$custom-dark: #000000;
JSON
{
  "hex": "#157242",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 149.032,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.11302,
    "h": 154.8
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#157242
secondary
#A83B73
accent
#3C97EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157242

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

Preview Lab → · Contrast checker → · Palette generator →

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