#156226#156226

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

Color values

HEX#156226
RGBrgb(21, 98, 38)
HSLhsl(133, 65%, 23%)
HSVhsv(133, 79%, 38%)
CMYKcmyk(78.6%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.05, -36.68, 27.31)
CIE-LCHlch(36.05, 45.73, 143.33°)
OKLaboklab(43.65% -0.0988 0.0648)
OKLCHoklch(43.65% 0.118 146.7)
XYZxyz(5.0264, 9.0342, 3.3122)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#156226 #621551
analogous
#2A6215 #156226 #15624C
triadic
#156226 #261562 #622615
tetradic
#156226 #152A62 #621551 #624C15
square
#156226 #152A62 #621551 #624C15
split-complementary
#156226 #4C1562 #62152A
monochromatic
#05190A #0A3012 #156226 #20943A #2BC74D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##156226#FFFFFF#000000##FFFFFF
##1562261.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)
#635920
Deuteranopia (green-blind)
#5B522B
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #156226;
/* rgb */ color: rgb(21, 98, 38);
/* oklch */ color: oklch(43.6% 0.118 146.7);
Tailwind
colors: {
  custom: {
    50: '#608f62',
    500: '#156226',
    950: '#000000',
  },
}
SCSS
$custom: #156226;
$custom-light: #608f62;
$custom-dark: #000000;
JSON
{
  "hex": "#156226",
  "rgb": {
    "r": 21,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 133.247,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43649,
    "c": 0.11816,
    "h": 146.7
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#156226
secondary
#993A84
accent
#40C3E8
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #156226

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

Preview Lab → · Contrast checker → · Palette generator →

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