#227A48#227A48

#227A48 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.114 H 153.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#227A48
RGBrgb(34, 122, 72)
HSLhsl(146, 56%, 31%)
HSVhsv(146, 72%, 48%)
CMYKcmyk(72.1%, 0%, 41%, 52.2%)
CIE-LABlab(45.26, -37.94, 20.11)
CIE-LCHlch(45.26, 42.94, 152.08°)
OKLaboklab(51.51% -0.1024 0.0501)
OKLCHoklch(51.51% 0.114 153.9)
XYZxyz(8.7881, 14.7261, 8.5089)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A48 #7A2254
analogous
#287A22 #227A48 #227A74
triadic
#227A48 #48227A #7A4822
tetradic
#227A48 #22287A #7A2254 #7A7422
square
#227A48 #22287A #7A2254 #7A7422
split-complementary
#227A48 #74227A #7A2228
monochromatic
#071A10 #154A2C #227A48 #2FAA64 #4ACD82

Accessibility & contrast

On white

5.32
#227A48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227A48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A48
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A48#FFFFFF#000000##FFFFFF
##227A481.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227a48;
/* rgb */ color: rgb(34, 122, 72);
/* oklch */ color: oklch(51.5% 0.114 153.9);
Tailwind
colors: {
  custom: {
    50: '#6aa17b',
    500: '#227a48',
    950: '#000000',
  },
}
SCSS
$custom: #227a48;
$custom-light: #6aa17b;
$custom-dark: #000000;
JSON
{
  "hex": "#227a48",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 72
  },
  "hsl": {
    "h": 145.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.11403,
    "h": 153.9
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#227A48
secondary
#AD4B83
accent
#489EE0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A48

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

Preview Lab → · Contrast checker → · Palette generator →

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