#227D4D#227D4D

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

Color values

HEX#227D4D
RGBrgb(34, 125, 77)
HSLhsl(148, 57%, 31%)
HSVhsv(148, 73%, 49%)
CMYKcmyk(72.8%, 0%, 38.4%, 51%)
CIE-LABlab(46.37, -38.16, 18.74)
CIE-LCHlch(46.37, 42.51, 153.85°)
OKLaboklab(52.46% -0.1032 0.0469)
OKLCHoklch(52.46% 0.113 155.5)
XYZxyz(9.3320, 15.5421, 9.5278)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D4D #7D2252
analogous
#247D22 #227D4D #227D7A
triadic
#227D4D #4D227D #7D4D22
tetradic
#227D4D #22247D #7D2252 #7D7A22
square
#227D4D #22247D #7D2252 #7D7A22
split-complementary
#227D4D #7A227D #7D2224
monochromatic
#081D12 #154D2F #227D4D #2FAD6B #4BCE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227D4D#FFFFFF#000000##FFFFFF
##227D4D1.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)
#7C734A
Deuteranopia (green-blind)
#716B50
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227d4d;
/* rgb */ color: rgb(34, 125, 77);
/* oklch */ color: oklch(52.5% 0.113 155.5);
Tailwind
colors: {
  custom: {
    50: '#6aa37f',
    500: '#227d4d',
    950: '#000000',
  },
}
SCSS
$custom: #227d4d;
$custom-light: #6aa37f;
$custom-dark: #000000;
JSON
{
  "hex": "#227d4d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 77
  },
  "hsl": {
    "h": 148.352,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.11336,
    "h": 155.5
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

primary
#227D4D
secondary
#B04B80
accent
#4798E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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