#227C41#227C41

#227C41 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.124 H 150.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#227C41
RGBrgb(34, 124, 65)
HSLhsl(141, 57%, 31%)
HSVhsv(141, 73%, 49%)
CMYKcmyk(72.6%, 0%, 47.6%, 51.4%)
CIE-LABlab(45.82, -40.09, 24.76)
CIE-LCHlch(45.82, 47.12, 148.30°)
OKLaboklab(51.94% -0.108 0.0607)
OKLCHoklch(51.94% 0.124 150.6)
XYZxyz(8.8208, 15.1361, 7.4567)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C41 #7C225D
analogous
#307C22 #227C41 #227C6E
triadic
#227C41 #41227C #7C4122
tetradic
#227C41 #22307C #7C225D #7C6E22
square
#227C41 #22307C #7C225D #7C6E22
split-complementary
#227C41 #6E227C #7C2230
monochromatic
#081C0F #154C28 #227C41 #2FAC5A #4BCE78

Accessibility & contrast

On white

5.21
#227C41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227C41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C41
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C41#FFFFFF#000000##FFFFFF
##227C411.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713C
Deuteranopia (green-blind)
#726945
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c41;
/* rgb */ color: rgb(34, 124, 65);
/* oklch */ color: oklch(51.9% 0.124 150.6);
Tailwind
colors: {
  custom: {
    50: '#6aa376',
    500: '#227c41',
    950: '#000000',
  },
}
SCSS
$custom: #227c41;
$custom-light: #6aa376;
$custom-dark: #000000;
JSON
{
  "hex": "#227c41",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 65
  },
  "hsl": {
    "h": 140.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.12387,
    "h": 150.6
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#227C41
secondary
#AF4B8C
accent
#48ACE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227C41

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

Preview Lab → · Contrast checker → · Palette generator →

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