#158227#158227

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

Color values

HEX#158227
RGBrgb(21, 130, 39)
HSLhsl(130, 72%, 30%)
HSVhsv(130, 84%, 51%)
CMYKcmyk(83.8%, 0%, 70%, 49%)
CIE-LABlab(47.33, -47.99, 39.51)
CIE-LCHlch(47.33, 62.16, 140.54°)
OKLaboklab(53.01% -0.1295 0.091)
OKLCHoklch(53.01% 0.158 144.9)
XYZxyz(8.6575, 16.2701, 4.6032)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158227 #821570
analogous
#3A8215 #158227 #15825D
triadic
#158227 #271582 #822715
tetradic
#158227 #153A82 #821570 #825D15
square
#158227 #153A82 #821570 #825D15
split-complementary
#158227 #5D1582 #82153A
monochromatic
#041A08 #0C4D17 #158227 #1EB737 #33DE50

Accessibility & contrast

On white

4.94
#158227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#158227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158227
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158227#FFFFFF#000000##FFFFFF
##1582271.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158227;
/* rgb */ color: rgb(21, 130, 39);
/* oklch */ color: oklch(53.0% 0.158 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a766',
    500: '#158227',
    950: '#000000',
  },
}
SCSS
$custom: #158227;
$custom-light: #69a766;
$custom-dark: #000000;
JSON
{
  "hex": "#158227",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 129.908,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.15824,
    "h": 144.9
  },
  "luminance": 0.16271
}

Semantic roles & 50–950 ramp

primary
#158227
secondary
#B73CA2
accent
#39D1EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #158227

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

Preview Lab → · Contrast checker → · Palette generator →

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