#156228#156228

#156228 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.116 H 147.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#156228
RGBrgb(21, 98, 40)
HSLhsl(135, 65%, 23%)
HSVhsv(135, 79%, 38%)
CMYKcmyk(78.6%, 0%, 59.2%, 61.6%)
CIE-LABlab(36.08, -36.37, 26.27)
CIE-LCHlch(36.08, 44.87, 144.16°)
OKLaboklab(43.68% -0.0979 0.0627)
OKLCHoklch(43.68% 0.116 147.3)
XYZxyz(5.0596, 9.0474, 3.4867)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#156228 #62154F
analogous
#286215 #156228 #15624E
triadic
#156228 #281562 #622815
tetradic
#156228 #152862 #62154F #624E15
square
#156228 #152862 #62154F #624E15
split-complementary
#156228 #4E1562 #621528
monochromatic
#05190A #0A3013 #156228 #20943D #2BC751

Accessibility & contrast

On white

7.47
#156228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#156228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #156228
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##156228#FFFFFF#000000##FFFFFF
##1562281.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5A522D
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #156228;
/* rgb */ color: rgb(21, 98, 40);
/* oklch */ color: oklch(43.7% 0.116 147.3);
Tailwind
colors: {
  custom: {
    50: '#608f64',
    500: '#156228',
    950: '#000000',
  },
}
SCSS
$custom: #156228;
$custom-light: #608f64;
$custom-dark: #000000;
JSON
{
  "hex": "#156228",
  "rgb": {
    "r": 21,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 134.805,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.11629,
    "h": 147.3
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#156228
secondary
#993A82
accent
#40BEE8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #156228

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

Preview Lab → · Contrast checker → · Palette generator →

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