#227D3C#227D3C

#227D3C is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.130 H 148.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#227D3C
RGBrgb(34, 125, 60)
HSLhsl(137, 57%, 31%)
HSVhsv(137, 73%, 49%)
CMYKcmyk(72.8%, 0%, 52%, 51%)
CIE-LABlab(46.09, -41.35, 27.81)
CIE-LCHlch(46.09, 49.83, 146.07°)
OKLaboklab(52.13% -0.1113 0.0674)
OKLCHoklch(52.13% 0.13 148.8)
XYZxyz(8.8082, 15.3326, 6.7694)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D3C #7D2263
analogous
#357D22 #227D3C #227D69
triadic
#227D3C #3C227D #7D3C22
tetradic
#227D3C #22357D #7D2263 #7D6922
square
#227D3C #22357D #7D2263 #7D6922
split-complementary
#227D3C #69227D #7D2235
monochromatic
#081D0E #154D25 #227D3C #2FAD53 #4BCE71

Accessibility & contrast

On white

5.16
#227D3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227D3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D3C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D3C#FFFFFF#000000##FFFFFF
##227D3C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7237
Deuteranopia (green-blind)
#736A41
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d3c;
/* rgb */ color: rgb(34, 125, 60);
/* oklch */ color: oklch(52.1% 0.130 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ba373',
    500: '#227d3c',
    950: '#000000',
  },
}
SCSS
$custom: #227d3c;
$custom-light: #6ba373;
$custom-dark: #000000;
JSON
{
  "hex": "#227d3c",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 60
  },
  "hsl": {
    "h": 137.143,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.13015,
    "h": 148.8
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#227D3C
secondary
#B04B93
accent
#47B5E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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