#226217#226217

#226217 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.9% C 0.125 H 141.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#226217
RGBrgb(34, 98, 23)
HSLhsl(111, 62%, 24%)
HSVhsv(111, 77%, 38%)
CMYKcmyk(65.3%, 0%, 76.5%, 61.6%)
CIE-LABlab(36.25, -35.61, 34.79)
CIE-LCHlch(36.25, 49.78, 135.67°)
OKLaboklab(43.86% -0.0974 0.0789)
OKLCHoklch(43.86% 0.125 141)
XYZxyz(5.1818, 9.1368, 2.3010)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226217 #571762
analogous
#476217 #226217 #176231
triadic
#226217 #172262 #621722
tetradic
#226217 #174762 #571762 #623117
square
#226217 #174762 #571762 #623117
split-complementary
#226217 #311762 #621747
monochromatic
#091906 #11300B #226217 #339423 #44C52E

Accessibility & contrast

On white

7.43
#226217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#226217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226217
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226217#FFFFFF#000000##FFFFFF
##2262171.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65580A
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#185F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226217;
/* rgb */ color: rgb(34, 98, 23);
/* oklch */ color: oklch(43.9% 0.125 141.0);
Tailwind
colors: {
  custom: {
    50: '#668f59',
    500: '#226217',
    950: '#000000',
  },
}
SCSS
$custom: #226217;
$custom-light: #668f59;
$custom-dark: #000000;
JSON
{
  "hex": "#226217",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 111.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.12534,
    "h": 141
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#226217
secondary
#8B3C99
accent
#43E5CD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #226217

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

Preview Lab → · Contrast checker → · Palette generator →

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