#158228#158228

#158228 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.158 H 145.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#158228
RGBrgb(21, 130, 40)
HSLhsl(130, 72%, 30%)
HSVhsv(130, 84%, 51%)
CMYKcmyk(83.8%, 0%, 69.2%, 49%)
CIE-LABlab(47.34, -47.88, 39.08)
CIE-LCHlch(47.34, 61.81, 140.78°)
OKLaboklab(53.02% -0.1291 0.0902)
OKLCHoklch(53.02% 0.158 145.1)
XYZxyz(8.6743, 16.2768, 4.6916)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158228 #82156F
analogous
#388215 #158228 #15825F
triadic
#158228 #281582 #822815
tetradic
#158228 #153882 #82156F #825F15
square
#158228 #153882 #82156F #825F15
split-complementary
#158228 #5F1582 #821538
monochromatic
#041A08 #0C4D18 #158228 #1EB738 #33DE51

Accessibility & contrast

On white

4.93
#158228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#158228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158228
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158228#FFFFFF#000000##FFFFFF
##1582281.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158228;
/* rgb */ color: rgb(21, 130, 40);
/* oklch */ color: oklch(53.0% 0.158 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a767',
    500: '#158228',
    950: '#000000',
  },
}
SCSS
$custom: #158228;
$custom-light: #69a767;
$custom-dark: #000000;
JSON
{
  "hex": "#158228",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 130.459,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.15752,
    "h": 145.1
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

primary
#158228
secondary
#B73CA1
accent
#39CFEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #158228

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

Preview Lab → · Contrast checker → · Palette generator →

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