#227F50#227F50

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

Color values

HEX#227F50
RGBrgb(34, 127, 80)
HSLhsl(150, 58%, 32%)
HSVhsv(150, 73%, 50%)
CMYKcmyk(73.2%, 0%, 37%, 50.2%)
CIE-LABlab(47.10, -38.36, 18.01)
CIE-LCHlch(47.10, 42.38, 154.85°)
OKLaboklab(53.08% -0.1038 0.0452)
OKLCHoklch(53.08% 0.113 156.5)
XYZxyz(9.6961, 16.0969, 10.1839)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F50 #7F2251
analogous
#237F22 #227F50 #227F7F
triadic
#227F50 #50227F #7F5022
tetradic
#227F50 #22237F #7F2251 #7F7F22
square
#227F50 #22237F #7F2251 #7F7F22
split-complementary
#227F50 #7F227F #7F2223
monochromatic
#081E13 #154F32 #227F50 #2FAF6E #4CCF8D

Accessibility & contrast

On white

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

On black

4.22
#227F50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227F50#FFFFFF#000000##FFFFFF
##227F501.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227f50;
/* rgb */ color: rgb(34, 127, 80);
/* oklch */ color: oklch(53.1% 0.113 156.5);
Tailwind
colors: {
  custom: {
    50: '#6ba581',
    500: '#227f50',
    950: '#000000',
  },
}
SCSS
$custom: #227f50;
$custom-light: #6ba581;
$custom-dark: #000000;
JSON
{
  "hex": "#227f50",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 80
  },
  "hsl": {
    "h": 149.677,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.11327,
    "h": 156.5
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#227F50
secondary
#B24B7F
accent
#4795E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227F50

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

Preview Lab → · Contrast checker → · Palette generator →

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