#227F4B#227F4B

#227F4B is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.118 H 154.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#227F4B
RGBrgb(34, 127, 75)
HSLhsl(146, 58%, 32%)
HSVhsv(146, 73%, 50%)
CMYKcmyk(73.2%, 0%, 40.9%, 50.2%)
CIE-LABlab(47.01, -39.40, 20.72)
CIE-LCHlch(47.01, 44.52, 152.25°)
OKLaboklab(52.97% -0.1063 0.0516)
OKLCHoklch(52.97% 0.118 154.1)
XYZxyz(9.5182, 16.0258, 9.2469)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F4B #7F2256
analogous
#277F22 #227F4B #227F7A
triadic
#227F4B #4B227F #7F4B22
tetradic
#227F4B #22277F #7F2256 #7F7A22
square
#227F4B #22277F #7F2256 #7F7A22
split-complementary
#227F4B #7A227F #7F2227
monochromatic
#081E12 #154F2E #227F4B #2FAF68 #4CCF86

Accessibility & contrast

On white

4.99
#227F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227F4B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F4B#FFFFFF#000000##FFFFFF
##227F4B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7447
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f4b;
/* rgb */ color: rgb(34, 127, 75);
/* oklch */ color: oklch(53.0% 0.118 154.1);
Tailwind
colors: {
  custom: {
    50: '#6ba57e',
    500: '#227f4b',
    950: '#000000',
  },
}
SCSS
$custom: #227f4b;
$custom-light: #6ba57e;
$custom-dark: #000000;
JSON
{
  "hex": "#227f4b",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 146.452,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.11819,
    "h": 154.1
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#227F4B
secondary
#B24B84
accent
#479DE1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #227F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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