#227717#227717

#227717 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.152 H 141.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#227717
RGBrgb(34, 119, 23)
HSLhsl(113, 68%, 28%)
HSVhsv(113, 81%, 47%)
CMYKcmyk(71.4%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.65, -43.49, 42.14)
CIE-LCHlch(43.65, 60.56, 135.90°)
OKLaboklab(49.99% -0.1187 0.0943)
OKLCHoklch(49.99% 0.152 141.5)
XYZxyz(7.4108, 13.5948, 3.0440)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227717 #6C1777
analogous
#527717 #227717 #17773C
triadic
#227717 #172277 #771722
tetradic
#227717 #175277 #6C1777 #773C17
square
#227717 #175277 #6C1777 #773C17
split-complementary
#227717 #3C1777 #771752
monochromatic
#071A05 #13440D #227717 #31AA21 #44D731

Accessibility & contrast

On white

5.65
#227717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#227717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227717
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227717#FFFFFF#000000##FFFFFF
##2277171.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#0E7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227717;
/* rgb */ color: rgb(34, 119, 23);
/* oklch */ color: oklch(50.0% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b9f5c',
    500: '#227717',
    950: '#000000',
  },
}
SCSS
$custom: #227717;
$custom-light: #6b9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#227717",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 113.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.15154,
    "h": 141.5
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#227717
secondary
#A03EAC
accent
#3DEAD7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F04
muted
#7A7E79

Preview Lab

Preview with #227717

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

Preview Lab → · Contrast checker → · Palette generator →

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