#158628#158628

#158628 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.162 H 144.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#158628
RGBrgb(21, 134, 40)
HSLhsl(130, 73%, 30%)
HSVhsv(130, 84%, 53%)
CMYKcmyk(84.3%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.71, -49.22, 40.57)
CIE-LCHlch(48.71, 63.79, 140.51°)
OKLaboklab(54.17% -0.1328 0.0934)
OKLCHoklch(54.17% 0.162 144.9)
XYZxyz(9.2167, 17.3617, 4.8725)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158628 #861573
analogous
#3B8615 #158628 #158660
triadic
#158628 #281586 #862815
tetradic
#158628 #153B86 #861573 #866015
square
#158628 #153B86 #861573 #866015
split-complementary
#158628 #601586 #86153B
monochromatic
#041C08 #0D5118 #158628 #1DBB38 #36DF52

Accessibility & contrast

On white

4.70
#158628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#158628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158628
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158628#FFFFFF#000000##FFFFFF
##1586281.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #158628;
/* rgb */ color: rgb(21, 134, 40);
/* oklch */ color: oklch(54.2% 0.162 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aaa67',
    500: '#158628',
    950: '#000000',
  },
}
SCSS
$custom: #158628;
$custom-light: #6aaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#158628",
  "rgb": {
    "r": 21,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 130.088,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54169,
    "c": 0.16229,
    "h": 144.9
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#158628
secondary
#BA3CA5
accent
#38D1F0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #158628

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

Preview Lab → · Contrast checker → · Palette generator →

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