#227917#227917

#227917 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.154 H 141.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#227917
RGBrgb(34, 121, 23)
HSLhsl(113, 68%, 28%)
HSVhsv(113, 81%, 47%)
CMYKcmyk(71.9%, 0%, 81%, 52.5%)
CIE-LABlab(44.34, -44.20, 42.81)
CIE-LCHlch(44.34, 61.53, 135.92°)
OKLaboklab(50.57% -0.1206 0.0957)
OKLCHoklch(50.57% 0.154 141.6)
XYZxyz(7.6513, 14.0759, 3.1241)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227917 #6E1779
analogous
#537917 #227917 #17793D
triadic
#227917 #172279 #791722
tetradic
#227917 #175379 #6E1779 #793D17
square
#227917 #175379 #6E1779 #793D17
split-complementary
#227917 #3D1779 #791753
monochromatic
#071A05 #14460D #227917 #30AC21 #45D832

Accessibility & contrast

On white

5.50
#227917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#227917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227917
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227917#FFFFFF#000000##FFFFFF
##2279171.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#0D7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227917;
/* rgb */ color: rgb(34, 121, 23);
/* oklch */ color: oklch(50.6% 0.154 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca15d',
    500: '#227917',
    950: '#000000',
  },
}
SCSS
$custom: #227917;
$custom-light: #6ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#227917",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 113.265,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.15392,
    "h": 141.6
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#227917
secondary
#A13EAE
accent
#3DEBD7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #227917

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

Preview Lab → · Contrast checker → · Palette generator →

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