#227F4E#227F4E

#227F4E is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.0% C 0.115 H 155.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#227F4E
RGBrgb(34, 127, 78)
HSLhsl(148, 58%, 32%)
HSVhsv(148, 73%, 50%)
CMYKcmyk(73.2%, 0%, 38.6%, 50.2%)
CIE-LABlab(47.06, -38.78, 19.10)
CIE-LCHlch(47.06, 43.23, 153.78°)
OKLaboklab(53.04% -0.1048 0.0478)
OKLCHoklch(53.04% 0.115 155.5)
XYZxyz(9.6233, 16.0678, 9.8005)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F4E #7F2253
analogous
#257F22 #227F4E #227F7D
triadic
#227F4E #4E227F #7F4E22
tetradic
#227F4E #22257F #7F2253 #7F7D22
square
#227F4E #22257F #7F2253 #7F7D22
split-complementary
#227F4E #7D227F #7F2225
monochromatic
#081E13 #154F30 #227F4E #2FAF6C #4CCF8A

Accessibility & contrast

On white

4.98
#227F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#227F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F4E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F4E#FFFFFF#000000##FFFFFF
##227F4E1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227f4e;
/* rgb */ color: rgb(34, 127, 78);
/* oklch */ color: oklch(53.0% 0.115 155.5);
Tailwind
colors: {
  custom: {
    50: '#6ba580',
    500: '#227f4e',
    950: '#000000',
  },
}
SCSS
$custom: #227f4e;
$custom-light: #6ba580;
$custom-dark: #000000;
JSON
{
  "hex": "#227f4e",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 148.387,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.11523,
    "h": 155.5
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#227F4E
secondary
#B24B81
accent
#4798E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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