#226417#226417

#226417 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.128 H 141.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#226417
RGBrgb(34, 100, 23)
HSLhsl(111, 63%, 24%)
HSVhsv(111, 77%, 39%)
CMYKcmyk(66%, 0%, 77%, 60.8%)
CIE-LABlab(36.96, -36.40, 35.51)
CIE-LCHlch(36.96, 50.85, 135.71°)
OKLaboklab(44.45% -0.0995 0.0804)
OKLCHoklch(44.45% 0.128 141.1)
XYZxyz(5.3712, 9.5158, 2.3641)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226417 #591764
analogous
#496417 #226417 #176433
triadic
#226417 #172264 #641722
tetradic
#226417 #174964 #591764 #643317
square
#226417 #174964 #591764 #643317
split-complementary
#226417 #331764 #641749
monochromatic
#081906 #11320C #226417 #339622 #44C82E

Accessibility & contrast

On white

7.23
#226417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#226417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226417
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226417#FFFFFF#000000##FFFFFF
##2264171.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A09
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#176155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #226417;
/* rgb */ color: rgb(34, 100, 23);
/* oklch */ color: oklch(44.5% 0.128 141.1);
Tailwind
colors: {
  custom: {
    50: '#679159',
    500: '#226417',
    950: '#000000',
  },
}
SCSS
$custom: #226417;
$custom-light: #679159;
$custom-dark: #000000;
JSON
{
  "hex": "#226417",
  "rgb": {
    "r": 34,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 111.429,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.12794,
    "h": 141.1
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#226417
secondary
#8D3C9A
accent
#42E6CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #226417

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

Preview Lab → · Contrast checker → · Palette generator →

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