#227D3E#227D3E

#227D3E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.128 H 149.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#227D3E
RGBrgb(34, 125, 62)
HSLhsl(138, 57%, 31%)
HSVhsv(138, 73%, 49%)
CMYKcmyk(72.8%, 0%, 50.4%, 51%)
CIE-LABlab(46.12, -41.01, 26.77)
CIE-LCHlch(46.12, 48.98, 146.86°)
OKLaboklab(52.16% -0.1104 0.0652)
OKLCHoklch(52.16% 0.128 149.5)
XYZxyz(8.8621, 15.3541, 7.0531)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D3E #7D2261
analogous
#337D22 #227D3E #227D6B
triadic
#227D3E #3E227D #7D3E22
tetradic
#227D3E #22337D #7D2261 #7D6B22
square
#227D3E #22337D #7D2261 #7D6B22
split-complementary
#227D3E #6B227D #7D2233
monochromatic
#081D0E #154D26 #227D3E #2FAD56 #4BCE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D3E#FFFFFF#000000##FFFFFF
##227D3E1.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)
#7E7239
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d3e;
/* rgb */ color: rgb(34, 125, 62);
/* oklch */ color: oklch(52.2% 0.128 149.5);
Tailwind
colors: {
  custom: {
    50: '#6ba374',
    500: '#227d3e',
    950: '#000000',
  },
}
SCSS
$custom: #227d3e;
$custom-light: #6ba374;
$custom-dark: #000000;
JSON
{
  "hex": "#227d3e",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 138.462,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.12822,
    "h": 149.5
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#227D3E
secondary
#B04B91
accent
#47B1E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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