#227F41#227F41

#227F41 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.128 H 150.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#227F41
RGBrgb(34, 127, 65)
HSLhsl(140, 58%, 32%)
HSVhsv(140, 73%, 50%)
CMYKcmyk(73.2%, 0%, 48.8%, 50.2%)
CIE-LABlab(46.84, -41.28, 26.06)
CIE-LCHlch(46.84, 48.82, 147.74°)
OKLaboklab(52.78% -0.1111 0.0637)
OKLCHoklch(52.78% 0.128 150.2)
XYZxyz(9.2024, 15.8994, 7.5839)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F41 #7F2260
analogous
#327F22 #227F41 #227F70
triadic
#227F41 #41227F #7F4122
tetradic
#227F41 #22327F #7F2260 #7F7022
square
#227F41 #22327F #7F2260 #7F7022
split-complementary
#227F41 #70227F #7F2232
monochromatic
#081E10 #154F28 #227F41 #2FAF5A #4CCF78

Accessibility & contrast

On white

5.02
#227F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#227F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F41
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F41#FFFFFF#000000##FFFFFF
##227F411.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743C
Deuteranopia (green-blind)
#756C45
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f41;
/* rgb */ color: rgb(34, 127, 65);
/* oklch */ color: oklch(52.8% 0.128 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ba576',
    500: '#227f41',
    950: '#000000',
  },
}
SCSS
$custom: #227f41;
$custom-light: #6ba576;
$custom-dark: #000000;
JSON
{
  "hex": "#227f41",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 140,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.12808,
    "h": 150.2
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#227F41
secondary
#B24B8F
accent
#47AEE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #227F41

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

Preview Lab → · Contrast checker → · Palette generator →

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