#227D41#227D41

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

Color values

HEX#227D41
RGBrgb(34, 125, 65)
HSLhsl(140, 57%, 31%)
HSVhsv(140, 73%, 49%)
CMYKcmyk(72.8%, 0%, 48%, 51%)
CIE-LABlab(46.16, -40.49, 25.19)
CIE-LCHlch(46.16, 47.69, 148.11°)
OKLaboklab(52.22% -0.109 0.0617)
OKLCHoklch(52.22% 0.125 150.5)
XYZxyz(8.9467, 15.3880, 7.4987)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D41 #7D225E
analogous
#307D22 #227D41 #227D6E
triadic
#227D41 #41227D #7D4122
tetradic
#227D41 #22307D #7D225E #7D6E22
square
#227D41 #22307D #7D225E #7D6E22
split-complementary
#227D41 #6E227D #7D2230
monochromatic
#081D0F #154D28 #227D41 #2FAD5A #4BCE78

Accessibility & contrast

On white

5.15
#227D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D41
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D41#FFFFFF#000000##FFFFFF
##227D411.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723C
Deuteranopia (green-blind)
#736A45
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d41;
/* rgb */ color: rgb(34, 125, 65);
/* oklch */ color: oklch(52.2% 0.125 150.5);
Tailwind
colors: {
  custom: {
    50: '#6ba376',
    500: '#227d41',
    950: '#000000',
  },
}
SCSS
$custom: #227d41;
$custom-light: #6ba376;
$custom-dark: #000000;
JSON
{
  "hex": "#227d41",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 140.44,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.12527,
    "h": 150.5
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#227D41
secondary
#B04B8D
accent
#47ACE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227D41

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

Preview Lab → · Contrast checker → · Palette generator →

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