#158E1C#158E1C

#158E1C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.179 H 143.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#158E1C
RGBrgb(21, 142, 28)
HSLhsl(123, 74%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(85.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.37, -52.84, 47.82)
CIE-LCHlch(51.37, 71.27, 137.85°)
OKLaboklab(56.35% -0.1431 0.1069)
OKLCHoklch(56.35% 0.179 143.2)
XYZxyz(10.1912, 19.5880, 4.3421)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158E1C #8E1587
analogous
#4B8E15 #158E1C #158E59
triadic
#158E1C #1C158E #8E1C15
tetradic
#158E1C #154B8E #8E1587 #8E5915
square
#158E1C #154B8E #8E1587 #8E5915
split-complementary
#158E1C #59158E #8E154B
monochromatic
#052307 #0D5911 #158E1C #1DC327 #3BE245

Accessibility & contrast

On white

4.27
#158E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#158E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158E1C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158E1C#FFFFFF#000000##000000
##158E1C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #158e1c;
/* rgb */ color: rgb(21, 142, 28);
/* oklch */ color: oklch(56.4% 0.179 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#158e1c',
    950: '#000000',
  },
}
SCSS
$custom: #158e1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#158e1c",
  "rgb": {
    "r": 21,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 123.471,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.17866,
    "h": 143.2
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#158E1C
secondary
#C23DBA
accent
#37E6F1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #158E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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