#226517#226517

#226517 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.129 H 141.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#226517
RGBrgb(34, 101, 23)
HSLhsl(112, 63%, 24%)
HSVhsv(112, 77%, 40%)
CMYKcmyk(66.3%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.31, -36.79, 35.87)
CIE-LCHlch(37.31, 51.38, 135.72°)
OKLaboklab(44.75% -0.1006 0.0812)
OKLCHoklch(44.75% 0.129 141.1)
XYZxyz(5.4677, 9.7088, 2.3963)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226517 #5A1765
analogous
#496517 #226517 #176533
triadic
#226517 #172265 #651722
tetradic
#226517 #174965 #5A1765 #653317
square
#226517 #174965 #5A1765 #653317
split-complementary
#226517 #331765 #651749
monochromatic
#081906 #11330C #226517 #339722 #44C92E

Accessibility & contrast

On white

7.14
#226517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#226517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226517
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226517#FFFFFF#000000##FFFFFF
##2265171.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#176256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226517;
/* rgb */ color: rgb(34, 101, 23);
/* oklch */ color: oklch(44.7% 0.129 141.1);
Tailwind
colors: {
  custom: {
    50: '#67925a',
    500: '#226517',
    950: '#000000',
  },
}
SCSS
$custom: #226517;
$custom-light: #67925a;
$custom-dark: #000000;
JSON
{
  "hex": "#226517",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 111.538,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.12925,
    "h": 141.1
  },
  "luminance": 0.09709
}

Semantic roles & 50–950 ramp

primary
#226517
secondary
#8E3C9B
accent
#42E6CF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226517

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

Preview Lab → · Contrast checker → · Palette generator →

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