#227D4B#227D4B

#227D4B is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.115 H 154.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#227D4B
RGBrgb(34, 125, 75)
HSLhsl(147, 57%, 31%)
HSVhsv(147, 73%, 49%)
CMYKcmyk(72.8%, 0%, 40%, 51%)
CIE-LABlab(46.33, -38.58, 19.83)
CIE-LCHlch(46.33, 43.37, 152.80°)
OKLaboklab(52.41% -0.1042 0.0495)
OKLCHoklch(52.41% 0.115 154.6)
XYZxyz(9.2625, 15.5143, 9.1617)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D4B #7D2254
analogous
#267D22 #227D4B #227D78
triadic
#227D4B #4B227D #7D4B22
tetradic
#227D4B #22267D #7D2254 #7D7822
square
#227D4B #22267D #7D2254 #7D7822
split-complementary
#227D4B #78227D #7D2226
monochromatic
#081D11 #154D2E #227D4B #2FAD68 #4BCE86

Accessibility & contrast

On white

5.12
#227D4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D4B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D4B#FFFFFF#000000##FFFFFF
##227D4B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7348
Deuteranopia (green-blind)
#716B4E
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d4b;
/* rgb */ color: rgb(34, 125, 75);
/* oklch */ color: oklch(52.4% 0.115 154.6);
Tailwind
colors: {
  custom: {
    50: '#6aa37d',
    500: '#227d4b',
    950: '#000000',
  },
}
SCSS
$custom: #227d4b;
$custom-light: #6aa37d;
$custom-dark: #000000;
JSON
{
  "hex": "#227d4b",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 75
  },
  "hsl": {
    "h": 147.033,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52413,
    "c": 0.11534,
    "h": 154.6
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#227D4B
secondary
#B04B82
accent
#479BE0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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