#227D3F#227D3F

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

Color values

HEX#227D3F
RGBrgb(34, 125, 63)
HSLhsl(139, 57%, 31%)
HSVhsv(139, 73%, 49%)
CMYKcmyk(72.8%, 0%, 49.6%, 51%)
CIE-LABlab(46.13, -40.84, 26.25)
CIE-LCHlch(46.13, 48.55, 147.27°)
OKLaboklab(52.18% -0.11 0.064)
OKLCHoklch(52.18% 0.127 149.8)
XYZxyz(8.8898, 15.3652, 7.1989)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D3F #7D2260
analogous
#327D22 #227D3F #227D6C
triadic
#227D3F #3F227D #7D3F22
tetradic
#227D3F #22327D #7D2260 #7D6C22
square
#227D3F #22327D #7D2260 #7D6C22
split-complementary
#227D3F #6C227D #7D2232
monochromatic
#081D0F #154D27 #227D3F #2FAD57 #4BCE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D3F#FFFFFF#000000##FFFFFF
##227D3F1.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)
#7E723A
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d3f;
/* rgb */ color: rgb(34, 125, 63);
/* oklch */ color: oklch(52.2% 0.127 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ba375',
    500: '#227d3f',
    950: '#000000',
  },
}
SCSS
$custom: #227d3f;
$custom-light: #6ba375;
$custom-dark: #000000;
JSON
{
  "hex": "#227d3f",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 63
  },
  "hsl": {
    "h": 139.121,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.12724,
    "h": 149.8
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#227D3F
secondary
#B04B90
accent
#47B0E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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