#227C17#227C17

#227C17 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.157 H 141.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#227C17
RGBrgb(34, 124, 23)
HSLhsl(113, 69%, 29%)
HSVhsv(113, 81%, 49%)
CMYKcmyk(72.6%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.38, -45.26, 43.81)
CIE-LCHlch(45.38, 62.99, 135.93°)
OKLaboklab(51.43% -0.1234 0.0977)
OKLCHoklch(51.43% 0.157 141.6)
XYZxyz(8.0215, 14.8164, 3.2475)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C17 #71177C
analogous
#557C17 #227C17 #177C3F
triadic
#227C17 #17227C #7C1722
tetradic
#227C17 #17557C #71177C #7C3F17
square
#227C17 #17557C #71177C #7C3F17
split-complementary
#227C17 #3F177C #7C1755
monochromatic
#071A05 #14480D #227C17 #30B021 #46D934

Accessibility & contrast

On white

5.30
#227C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#227C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C17
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C17#FFFFFF#000000##FFFFFF
##227C171.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#0A7869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227c17;
/* rgb */ color: rgb(34, 124, 23);
/* oklch */ color: oklch(51.4% 0.157 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca35d',
    500: '#227c17',
    950: '#000000',
  },
}
SCSS
$custom: #227c17;
$custom-light: #6ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#227c17",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 113.465,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.15744,
    "h": 141.6
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#227C17
secondary
#A43EB1
accent
#3CECD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227C17

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

Preview Lab → · Contrast checker → · Palette generator →

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