#227F47#227F47

#227F47 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.122 H 152.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#227F47
RGBrgb(34, 127, 71)
HSLhsl(144, 58%, 32%)
HSVhsv(144, 73%, 50%)
CMYKcmyk(73.2%, 0%, 44.1%, 50.2%)
CIE-LABlab(46.94, -40.18, 22.88)
CIE-LCHlch(46.94, 46.24, 150.35°)
OKLaboklab(52.89% -0.1083 0.0566)
OKLCHoklch(52.89% 0.122 152.4)
XYZxyz(9.3856, 15.9727, 8.5484)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F47 #7F225A
analogous
#2C7F22 #227F47 #227F76
triadic
#227F47 #47227F #7F4722
tetradic
#227F47 #222C7F #7F225A #7F7622
square
#227F47 #222C7F #7F225A #7F7622
split-complementary
#227F47 #76227F #7F222C
monochromatic
#081E11 #154F2C #227F47 #2FAF62 #4CCF80

Accessibility & contrast

On white

5.01
#227F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#227F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F47
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F47#FFFFFF#000000##FFFFFF
##227F471.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7443
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f47;
/* rgb */ color: rgb(34, 127, 71);
/* oklch */ color: oklch(52.9% 0.122 152.4);
Tailwind
colors: {
  custom: {
    50: '#6ba57b',
    500: '#227f47',
    950: '#000000',
  },
}
SCSS
$custom: #227f47;
$custom-light: #6ba57b;
$custom-dark: #000000;
JSON
{
  "hex": "#227f47",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 143.871,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.12216,
    "h": 152.4
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#227F47
secondary
#B24B89
accent
#47A4E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227F47

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

Preview Lab → · Contrast checker → · Palette generator →

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