#156227#156227

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

Color values

HEX#156227
RGBrgb(21, 98, 39)
HSLhsl(134, 65%, 23%)
HSVhsv(134, 79%, 38%)
CMYKcmyk(78.6%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.06, -36.53, 26.79)
CIE-LCHlch(36.06, 45.30, 143.74°)
OKLaboklab(43.66% -0.0984 0.0638)
OKLCHoklch(43.66% 0.117 147)
XYZxyz(5.0428, 9.0407, 3.3983)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#156227 #621550
analogous
#296215 #156227 #15624D
triadic
#156227 #271562 #622715
tetradic
#156227 #152962 #621550 #624D15
square
#156227 #152962 #621550 #624D15
split-complementary
#156227 #4D1562 #621529
monochromatic
#05190A #0A3013 #156227 #20943B #2BC74F

Accessibility & contrast

On white

7.48
#156227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #156227
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##156227#FFFFFF#000000##FFFFFF
##1562271.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #156227;
/* rgb */ color: rgb(21, 98, 39);
/* oklch */ color: oklch(43.7% 0.117 147.0);
Tailwind
colors: {
  custom: {
    50: '#608f63',
    500: '#156227',
    950: '#000000',
  },
}
SCSS
$custom: #156227;
$custom-light: #608f63;
$custom-dark: #000000;
JSON
{
  "hex": "#156227",
  "rgb": {
    "r": 21,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 134.026,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.11723,
    "h": 147
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#156227
secondary
#993A83
accent
#40C1E8
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #156227

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

Preview Lab → · Contrast checker → · Palette generator →

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