#227D17#227D17

#227D17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.159 H 141.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#227D17
RGBrgb(34, 125, 23)
HSLhsl(114, 69%, 29%)
HSVhsv(114, 82%, 49%)
CMYKcmyk(72.8%, 0%, 81.6%, 51%)
CIE-LABlab(45.73, -45.61, 44.14)
CIE-LCHlch(45.73, 63.47, 135.94°)
OKLaboklab(51.72% -0.1244 0.0984)
OKLCHoklch(51.72% 0.159 141.6)
XYZxyz(8.1475, 15.0683, 3.2895)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D17 #72177D
analogous
#557D17 #227D17 #177D3F
triadic
#227D17 #17227D #7D1722
tetradic
#227D17 #17557D #72177D #7D3F17
square
#227D17 #17557D #72177D #7D3F17
split-complementary
#227D17 #3F177D #7D1755
monochromatic
#071A05 #14490D #227D17 #30B121 #46DA35

Accessibility & contrast

On white

5.23
#227D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D17#FFFFFF#000000##FFFFFF
##227D171.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#09796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227d17;
/* rgb */ color: rgb(34, 125, 23);
/* oklch */ color: oklch(51.7% 0.159 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da45d',
    500: '#227d17',
    950: '#000000',
  },
}
SCSS
$custom: #227d17;
$custom-light: #6da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#227d17",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 113.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.15861,
    "h": 141.6
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#227D17
secondary
#A53EB2
accent
#3CECD9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227D17

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

Preview Lab → · Contrast checker → · Palette generator →

#227D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva