#227D4E#227D4E

#227D4E is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.5% C 0.112 H 156.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#227D4E
RGBrgb(34, 125, 78)
HSLhsl(149, 57%, 31%)
HSVhsv(149, 73%, 49%)
CMYKcmyk(72.8%, 0%, 37.6%, 51%)
CIE-LABlab(46.39, -37.95, 18.19)
CIE-LCHlch(46.39, 42.09, 154.39°)
OKLaboklab(52.48% -0.1027 0.0457)
OKLCHoklch(52.48% 0.112 156)
XYZxyz(9.3676, 15.5563, 9.7152)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D4E #7D2251
analogous
#237D22 #227D4E #227D7B
triadic
#227D4E #4E227D #7D4E22
tetradic
#227D4E #22237D #7D2251 #7D7B22
square
#227D4E #22237D #7D2251 #7D7B22
split-complementary
#227D4E #7B227D #7D2223
monochromatic
#081D12 #154D30 #227D4E #2FAD6C #4BCE8B

Accessibility & contrast

On white

5.11
#227D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#227D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D4E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D4E#FFFFFF#000000##FFFFFF
##227D4E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d4e;
/* rgb */ color: rgb(34, 125, 78);
/* oklch */ color: oklch(52.5% 0.112 156.0);
Tailwind
colors: {
  custom: {
    50: '#6aa380',
    500: '#227d4e',
    950: '#000000',
  },
}
SCSS
$custom: #227d4e;
$custom-light: #6aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#227d4e",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 149.011,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.11238,
    "h": 156
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#227D4E
secondary
#B04B7F
accent
#4796E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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