#227C4D#227C4D

#227C4D is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.112 H 155.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227C4D
RGBrgb(34, 124, 77)
HSLhsl(149, 57%, 31%)
HSVhsv(149, 73%, 49%)
CMYKcmyk(72.6%, 0%, 37.9%, 51.4%)
CIE-LABlab(46.03, -37.74, 18.29)
CIE-LCHlch(46.03, 41.94, 154.15°)
OKLaboklab(52.18% -0.1021 0.0459)
OKLCHoklch(52.18% 0.112 155.8)
XYZxyz(9.2060, 15.2902, 9.4859)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C4D #7C2251
analogous
#247C22 #227C4D #227C7A
triadic
#227C4D #4D227C #7C4D22
tetradic
#227C4D #22247C #7C2251 #7C7A22
square
#227C4D #22247C #7C2251 #7C7A22
split-complementary
#227C4D #7A227C #7C2224
monochromatic
#081C11 #154C2F #227C4D #2FAC6B #4BCE89

Accessibility & contrast

On white

5.17
#227C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C4D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C4D#FFFFFF#000000##FFFFFF
##227C4D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724A
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c4d;
/* rgb */ color: rgb(34, 124, 77);
/* oklch */ color: oklch(52.2% 0.112 155.8);
Tailwind
colors: {
  custom: {
    50: '#6aa37f',
    500: '#227c4d',
    950: '#000000',
  },
}
SCSS
$custom: #227c4d;
$custom-light: #6aa37f;
$custom-dark: #000000;
JSON
{
  "hex": "#227c4d",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 77
  },
  "hsl": {
    "h": 148.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.11193,
    "h": 155.8
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#227C4D
secondary
#AF4B7F
accent
#4897E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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