#227C47#227C47

#227C47 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.118 H 153.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#227C47
RGBrgb(34, 124, 71)
HSLhsl(145, 57%, 31%)
HSVhsv(145, 73%, 49%)
CMYKcmyk(72.6%, 0%, 42.7%, 51.4%)
CIE-LABlab(45.92, -38.97, 21.55)
CIE-LCHlch(45.92, 44.53, 151.06°)
OKLaboklab(52.05% -0.1051 0.0535)
OKLCHoklch(52.05% 0.118 153)
XYZxyz(9.0039, 15.2093, 8.4212)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C47 #7C2257
analogous
#2A7C22 #227C47 #227C74
triadic
#227C47 #47227C #7C4722
tetradic
#227C47 #222A7C #7C2257 #7C7422
square
#227C47 #222A7C #7C2257 #7C7422
split-complementary
#227C47 #74227C #7C222A
monochromatic
#081C10 #154C2B #227C47 #2FAC63 #4BCE81

Accessibility & contrast

On white

5.20
#227C47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#227C47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C47
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C47#FFFFFF#000000##FFFFFF
##227C471.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7143
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227c47;
/* rgb */ color: rgb(34, 124, 71);
/* oklch */ color: oklch(52.1% 0.118 153.0);
Tailwind
colors: {
  custom: {
    50: '#6aa37b',
    500: '#227c47',
    950: '#000000',
  },
}
SCSS
$custom: #227c47;
$custom-light: #6aa37b;
$custom-dark: #000000;
JSON
{
  "hex": "#227c47",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 71
  },
  "hsl": {
    "h": 144.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.1179,
    "h": 153
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#227C47
secondary
#AF4B86
accent
#48A1E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227C47

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

Preview Lab → · Contrast checker → · Palette generator →

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