#226717#226717

#226717 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.132 H 141.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#226717
RGBrgb(34, 103, 23)
HSLhsl(112, 63%, 25%)
HSVhsv(112, 78%, 40%)
CMYKcmyk(67%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.02, -37.56, 36.59)
CIE-LCHlch(38.02, 52.44, 135.75°)
OKLaboklab(45.33% -0.1027 0.0827)
OKLCHoklch(45.33% 0.132 141.2)
XYZxyz(5.6643, 10.1019, 2.4618)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226717 #5C1767
analogous
#4A6717 #226717 #176734
triadic
#226717 #172267 #671722
tetradic
#226717 #174A67 #5C1767 #673417
square
#226717 #174A67 #5C1767 #673417
split-complementary
#226717 #341767 #67174A
monochromatic
#081906 #11350C #226717 #339922 #43CB2D

Accessibility & contrast

On white

6.95
#226717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#226717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226717
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226717#FFFFFF#000000##FFFFFF
##2267171.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#166458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226717;
/* rgb */ color: rgb(34, 103, 23);
/* oklch */ color: oklch(45.3% 0.132 141.2);
Tailwind
colors: {
  custom: {
    50: '#67935a',
    500: '#226717',
    950: '#000000',
  },
}
SCSS
$custom: #226717;
$custom-light: #67935a;
$custom-dark: #000000;
JSON
{
  "hex": "#226717",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 111.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.13181,
    "h": 141.2
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#226717
secondary
#903D9D
accent
#41E7D0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226717

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

Preview Lab → · Contrast checker → · Palette generator →

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