#158148#158148

#158148 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.128 H 153.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#158148
RGBrgb(21, 129, 72)
HSLhsl(148, 72%, 29%)
HSVhsv(148, 84%, 51%)
CMYKcmyk(83.7%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.40, -42.64, 22.87)
CIE-LCHlch(47.40, 48.39, 151.79°)
OKLaboklab(53.21% -0.1146 0.0566)
OKLCHoklch(53.21% 0.128 153.7)
XYZxyz(9.3283, 16.3267, 8.7894)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158148 #81154E
analogous
#188115 #158148 #15817E
triadic
#158148 #481581 #814815
tetradic
#158148 #151881 #81154E #817E15
square
#158148 #151881 #81154E #817E15
split-complementary
#158148 #7E1581 #811518
monochromatic
#041A0F #0C4C2B #158148 #1EB665 #33DE83

Accessibility & contrast

On white

4.92
#158148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#158148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158148
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158148#FFFFFF#000000##FFFFFF
##1581481.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#756D4C
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158148;
/* rgb */ color: rgb(21, 129, 72);
/* oklch */ color: oklch(53.2% 0.128 153.7);
Tailwind
colors: {
  custom: {
    50: '#67a77b',
    500: '#158148',
    950: '#000000',
  },
}
SCSS
$custom: #158148;
$custom-light: #67a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#158148",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 148.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.12785,
    "h": 153.7
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#158148
secondary
#B63C7C
accent
#3999EF
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #158148

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

Preview Lab → · Contrast checker → · Palette generator →

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