#227F49#227F49

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

Color values

HEX#227F49
RGBrgb(34, 127, 73)
HSLhsl(145, 58%, 32%)
HSVhsv(145, 73%, 50%)
CMYKcmyk(73.2%, 0%, 42.5%, 50.2%)
CIE-LABlab(46.97, -39.80, 21.80)
CIE-LCHlch(46.97, 45.38, 151.28°)
OKLaboklab(52.93% -0.1073 0.0541)
OKLCHoklch(52.93% 0.12 153.2)
XYZxyz(9.4508, 15.9988, 8.8920)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F49 #7F2258
analogous
#2A7F22 #227F49 #227F78
triadic
#227F49 #49227F #7F4922
tetradic
#227F49 #222A7F #7F2258 #7F7822
square
#227F49 #222A7F #7F2258 #7F7822
split-complementary
#227F49 #78227F #7F222A
monochromatic
#081E12 #154F2D #227F49 #2FAF65 #4CCF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F49#FFFFFF#000000##FFFFFF
##227F491.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)
#7F7445
Deuteranopia (green-blind)
#746C4D
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f49;
/* rgb */ color: rgb(34, 127, 73);
/* oklch */ color: oklch(52.9% 0.120 153.2);
Tailwind
colors: {
  custom: {
    50: '#6ba57c',
    500: '#227f49',
    950: '#000000',
  },
}
SCSS
$custom: #227f49;
$custom-light: #6ba57c;
$custom-dark: #000000;
JSON
{
  "hex": "#227f49",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 73
  },
  "hsl": {
    "h": 145.161,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.12018,
    "h": 153.2
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#227F49
secondary
#B24B87
accent
#47A0E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227F49

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

Preview Lab → · Contrast checker → · Palette generator →

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