#227640#227640

#227640 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.2% C 0.116 H 151.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#227640
RGBrgb(34, 118, 64)
HSLhsl(141, 55%, 30%)
HSVhsv(141, 71%, 46%)
CMYKcmyk(71.2%, 0%, 45.8%, 53.7%)
CIE-LABlab(43.75, -37.85, 22.66)
CIE-LCHlch(43.75, 44.11, 149.09°)
OKLaboklab(50.22% -0.102 0.0558)
OKLCHoklch(50.22% 0.116 151.3)
XYZxyz(8.0629, 13.6662, 7.0624)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227640 #762258
analogous
#2E7622 #227640 #22766A
triadic
#227640 #402276 #764022
tetradic
#227640 #222E76 #762258 #766A22
square
#227640 #222E76 #762258 #766A22
split-complementary
#227640 #6A2276 #76222E
monochromatic
#07180D #144626 #227640 #30A65A #48CA77

Accessibility & contrast

On white

5.62
#227640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#227640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227640
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227640#FFFFFF#000000##FFFFFF
##2276401.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3C
Deuteranopia (green-blind)
#6C6444
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227640;
/* rgb */ color: rgb(34, 118, 64);
/* oklch */ color: oklch(50.2% 0.116 151.3);
Tailwind
colors: {
  custom: {
    50: '#699e75',
    500: '#227640',
    950: '#000000',
  },
}
SCSS
$custom: #227640;
$custom-light: #699e75;
$custom-dark: #000000;
JSON
{
  "hex": "#227640",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 64
  },
  "hsl": {
    "h": 141.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.1163,
    "h": 151.3
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#227640
secondary
#A94B87
accent
#49A9DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227640

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

Preview Lab → · Contrast checker → · Palette generator →

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