#158945#158945

#158945 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.141 H 151.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#158945
RGBrgb(21, 137, 69)
HSLhsl(145, 73%, 31%)
HSVhsv(145, 85%, 54%)
CMYKcmyk(84.7%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.07, -46.20, 27.94)
CIE-LCHlch(50.07, 53.99, 148.84°)
OKLaboklab(55.41% -0.124 0.0682)
OKLCHoklch(55.41% 0.141 151.2)
XYZxyz(10.3282, 18.4791, 8.6516)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158945 #891559
analogous
#1F8915 #158945 #15897F
triadic
#158945 #451589 #894515
tetradic
#158945 #151F89 #891559 #897F15
square
#158945 #151F89 #891559 #897F15
split-complementary
#158945 #7F1589 #89151F
monochromatic
#051F10 #0D542A #158945 #1DBE60 #38E07E

Accessibility & contrast

On white

4.47
#158945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#158945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158945
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158945#FFFFFF#000000##000000
##1589451.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D40
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158945;
/* rgb */ color: rgb(21, 137, 69);
/* oklch */ color: oklch(55.4% 0.141 151.2);
Tailwind
colors: {
  custom: {
    50: '#6aac7a',
    500: '#158945',
    950: '#000000',
  },
}
SCSS
$custom: #158945;
$custom-light: #6aac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#158945",
  "rgb": {
    "r": 21,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 144.828,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.14146,
    "h": 151.2
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#158945
secondary
#BD3D88
accent
#38A4F0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #158945

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

Preview Lab → · Contrast checker → · Palette generator →

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