#227F48#227F48

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

Color values

HEX#227F48
RGBrgb(34, 127, 72)
HSLhsl(145, 58%, 32%)
HSVhsv(145, 73%, 50%)
CMYKcmyk(73.2%, 0%, 43.3%, 50.2%)
CIE-LABlab(46.96, -39.99, 22.34)
CIE-LCHlch(46.96, 45.81, 150.81°)
OKLaboklab(52.91% -0.1078 0.0554)
OKLCHoklch(52.91% 0.121 152.8)
XYZxyz(9.4179, 15.9856, 8.7188)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F48 #7F2259
analogous
#2B7F22 #227F48 #227F77
triadic
#227F48 #48227F #7F4822
tetradic
#227F48 #222B7F #7F2259 #7F7722
square
#227F48 #222B7F #7F2259 #7F7722
split-complementary
#227F48 #77227F #7F222B
monochromatic
#081E11 #154F2D #227F48 #2FAF63 #4CCF82

Accessibility & contrast

On white

5.00
#227F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#227F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F48
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F48#FFFFFF#000000##FFFFFF
##227F481.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227f48;
/* rgb */ color: rgb(34, 127, 72);
/* oklch */ color: oklch(52.9% 0.121 152.8);
Tailwind
colors: {
  custom: {
    50: '#6ba57b',
    500: '#227f48',
    950: '#000000',
  },
}
SCSS
$custom: #227f48;
$custom-light: #6ba57b;
$custom-dark: #000000;
JSON
{
  "hex": "#227f48",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 144.516,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.12117,
    "h": 152.8
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#227F48
secondary
#B24B88
accent
#47A2E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227F48

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

Preview Lab → · Contrast checker → · Palette generator →

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