#158F25#158F25

#158F25 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.175 H 144.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#158F25
RGBrgb(21, 143, 37)
HSLhsl(128, 74%, 32%)
HSVhsv(128, 85%, 56%)
CMYKcmyk(85.3%, 0%, 74.1%, 43.9%)
CIE-LABlab(51.77, -52.45, 45.00)
CIE-LCHlch(51.77, 69.10, 139.37°)
OKLaboklab(56.7% -0.1417 0.1022)
OKLCHoklch(56.7% 0.175 144.2)
XYZxyz(10.4649, 19.9366, 5.0465)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158F25 #8F157F
analogous
#428F15 #158F25 #158F62
triadic
#158F25 #25158F #8F2515
tetradic
#158F25 #15428F #8F157F #8F6215
square
#158F25 #15428F #8F157F #8F6215
split-complementary
#158F25 #62158F #8F1542
monochromatic
#052409 #0D5A17 #158F25 #1DC433 #3CE252

Accessibility & contrast

On white

4.21
#158F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#158F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158F25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158F25#FFFFFF#000000##000000
##158F251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #158f25;
/* rgb */ color: rgb(21, 143, 37);
/* oklch */ color: oklch(56.7% 0.175 144.2);
Tailwind
colors: {
  custom: {
    50: '#6db166',
    500: '#158f25',
    950: '#000000',
  },
}
SCSS
$custom: #158f25;
$custom-light: #6db166;
$custom-dark: #000000;
JSON
{
  "hex": "#158f25",
  "rgb": {
    "r": 21,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 127.869,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.17472,
    "h": 144.2
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#158F25
secondary
#C23EB1
accent
#37D9F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #158F25

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

Preview Lab → · Contrast checker → · Palette generator →

#158F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva