#227240#227240

#227240 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.110 H 152.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#227240
RGBrgb(34, 114, 64)
HSLhsl(143, 54%, 29%)
HSVhsv(143, 70%, 45%)
CMYKcmyk(70.2%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.38, -36.19, 20.88)
CIE-LCHlch(42.38, 41.78, 150.02°)
OKLaboklab(49.09% -0.0976 0.0517)
OKLCHoklch(49.09% 0.11 152.1)
XYZxyz(7.6018, 12.7441, 6.9087)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227240 #722254
analogous
#2C7222 #227240 #227268
triadic
#227240 #402272 #724022
tetradic
#227240 #222C72 #722254 #726822
square
#227240 #222C72 #722254 #726822
split-complementary
#227240 #682272 #72222C
monochromatic
#07180D #144326 #227240 #30A15A #46C877

Accessibility & contrast

On white

5.92
#227240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#227240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227240
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227240#FFFFFF#000000##FFFFFF
##2272401.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227240;
/* rgb */ color: rgb(34, 114, 64);
/* oklch */ color: oklch(49.1% 0.110 152.1);
Tailwind
colors: {
  custom: {
    50: '#689b75',
    500: '#227240',
    950: '#000000',
  },
}
SCSS
$custom: #227240;
$custom-light: #689b75;
$custom-dark: #000000;
JSON
{
  "hex": "#227240",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 142.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.11049,
    "h": 152.1
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#227240
secondary
#A54B83
accent
#4AA6DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227240

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

Preview Lab → · Contrast checker → · Palette generator →

#227240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva