#227A45#227A45

#227A45 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.4% C 0.117 H 152.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#227A45
RGBrgb(34, 122, 69)
HSLhsl(144, 56%, 31%)
HSVhsv(144, 72%, 48%)
CMYKcmyk(72.1%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.20, -38.54, 21.74)
CIE-LCHlch(45.20, 44.24, 150.58°)
OKLaboklab(51.45% -0.1039 0.0539)
OKLCHoklch(51.45% 0.117 152.6)
XYZxyz(8.6927, 14.6879, 8.0060)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A45 #7A2257
analogous
#2B7A22 #227A45 #227A71
triadic
#227A45 #45227A #7A4522
tetradic
#227A45 #222B7A #7A2257 #7A7122
square
#227A45 #222B7A #7A2257 #7A7122
split-complementary
#227A45 #71227A #7A222B
monochromatic
#071A0F #154A2A #227A45 #2FAA60 #4ACD7E

Accessibility & contrast

On white

5.33
#227A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#227A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A45
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A45#FFFFFF#000000##FFFFFF
##227A451.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7041
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a45;
/* rgb */ color: rgb(34, 122, 69);
/* oklch */ color: oklch(51.4% 0.117 152.6);
Tailwind
colors: {
  custom: {
    50: '#6aa179',
    500: '#227a45',
    950: '#000000',
  },
}
SCSS
$custom: #227a45;
$custom-light: #6aa179;
$custom-dark: #000000;
JSON
{
  "hex": "#227a45",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 143.864,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.11703,
    "h": 152.6
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#227A45
secondary
#AD4B86
accent
#48A3E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A45

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

Preview Lab → · Contrast checker → · Palette generator →

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