#227B17#227B17

#227B17 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.156 H 141.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#227B17
RGBrgb(34, 123, 23)
HSLhsl(113, 68%, 29%)
HSVhsv(113, 81%, 48%)
CMYKcmyk(72.4%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.04, -44.91, 43.47)
CIE-LCHlch(45.04, 62.50, 135.93°)
OKLaboklab(51.14% -0.1225 0.097)
OKLCHoklch(51.14% 0.156 141.6)
XYZxyz(7.8969, 14.5670, 3.2060)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B17 #70177B
analogous
#547B17 #227B17 #177B3E
triadic
#227B17 #17227B #7B1722
tetradic
#227B17 #17547B #70177B #7B3E17
square
#227B17 #17547B #70177B #7B3E17
split-complementary
#227B17 #3E177B #7B1754
monochromatic
#071A05 #14470D #227B17 #30AF21 #46D933

Accessibility & contrast

On white

5.37
#227B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#227B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B17
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B17#FFFFFF#000000##FFFFFF
##227B171.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#0B7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b17;
/* rgb */ color: rgb(34, 123, 23);
/* oklch */ color: oklch(51.1% 0.156 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca25d',
    500: '#227b17',
    950: '#000000',
  },
}
SCSS
$custom: #227b17;
$custom-light: #6ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#227b17",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 113.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51144,
    "c": 0.15627,
    "h": 141.6
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#227B17
secondary
#A33EB0
accent
#3CEBD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227B17

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

Preview Lab → · Contrast checker → · Palette generator →

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