#227E17#227E17

#227E17 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.160 H 141.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227E17
RGBrgb(34, 126, 23)
HSLhsl(114, 69%, 29%)
HSVhsv(114, 82%, 49%)
CMYKcmyk(73%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.07, -45.95, 44.47)
CIE-LCHlch(46.07, 63.95, 135.94°)
OKLaboklab(52.01% -0.1253 0.0991)
OKLCHoklch(52.01% 0.16 141.7)
XYZxyz(8.2747, 15.3227, 3.3319)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E17 #73177E
analogous
#567E17 #227E17 #177E40
triadic
#227E17 #17227E #7E1722
tetradic
#227E17 #17567E #73177E #7E4017
square
#227E17 #17567E #73177E #7E4017
split-complementary
#227E17 #40177E #7E1756
monochromatic
#071A05 #144A0E #227E17 #30B220 #47DA35

Accessibility & contrast

On white

5.17
#227E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E17#FFFFFF#000000##FFFFFF
##227E171.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#087A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e17;
/* rgb */ color: rgb(34, 126, 23);
/* oklch */ color: oklch(52.0% 0.160 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da45d',
    500: '#227e17',
    950: '#000000',
  },
}
SCSS
$custom: #227e17;
$custom-light: #6da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#227e17",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 113.592,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.15977,
    "h": 141.7
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227E17

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

Preview Lab → · Contrast checker → · Palette generator →

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