#227D45#227D45

#227D45 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.121 H 152.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#227D45
RGBrgb(34, 125, 69)
HSLhsl(143, 57%, 31%)
HSVhsv(143, 73%, 49%)
CMYKcmyk(72.8%, 0%, 44.8%, 51%)
CIE-LABlab(46.23, -39.76, 23.06)
CIE-LCHlch(46.23, 45.96, 149.88°)
OKLaboklab(52.29% -0.1071 0.057)
OKLCHoklch(52.29% 0.121 152)
XYZxyz(9.0667, 15.4360, 8.1307)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D45 #7D225A
analogous
#2C7D22 #227D45 #227D72
triadic
#227D45 #45227D #7D4522
tetradic
#227D45 #222C7D #7D225A #7D7222
square
#227D45 #222C7D #7D225A #7D7222
split-complementary
#227D45 #72227D #7D222C
monochromatic
#081D10 #154D2A #227D45 #2FAD60 #4BCE7E

Accessibility & contrast

On white

5.14
#227D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#227D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D45
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D45#FFFFFF#000000##FFFFFF
##227D451.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d45;
/* rgb */ color: rgb(34, 125, 69);
/* oklch */ color: oklch(52.3% 0.121 152.0);
Tailwind
colors: {
  custom: {
    50: '#6aa379',
    500: '#227d45',
    950: '#000000',
  },
}
SCSS
$custom: #227d45;
$custom-light: #6aa379;
$custom-dark: #000000;
JSON
{
  "hex": "#227d45",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 143.077,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.12132,
    "h": 152
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#227D45
secondary
#B04B89
accent
#47A6E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227D45

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

Preview Lab → · Contrast checker → · Palette generator →

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