#227642#227642

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

Color values

HEX#227642
RGBrgb(34, 118, 66)
HSLhsl(143, 55%, 30%)
HSVhsv(143, 71%, 46%)
CMYKcmyk(71.2%, 0%, 44.1%, 53.7%)
CIE-LABlab(43.78, -37.47, 21.58)
CIE-LCHlch(43.78, 43.24, 150.06°)
OKLaboklab(50.26% -0.101 0.0534)
OKLCHoklch(50.26% 0.114 152.2)
XYZxyz(8.1208, 13.6894, 7.3675)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227642 #762256
analogous
#2C7622 #227642 #22766C
triadic
#227642 #422276 #764222
tetradic
#227642 #222C76 #762256 #766C22
square
#227642 #222C76 #762256 #766C22
split-complementary
#227642 #6C2276 #76222C
monochromatic
#07180D #144627 #227642 #30A65D #48CA7A

Accessibility & contrast

On white

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

On black

3.74
#227642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227642#FFFFFF#000000##FFFFFF
##2276421.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227642;
/* rgb */ color: rgb(34, 118, 66);
/* oklch */ color: oklch(50.3% 0.114 152.2);
Tailwind
colors: {
  custom: {
    50: '#699e77',
    500: '#227642',
    950: '#000000',
  },
}
SCSS
$custom: #227642;
$custom-light: #699e77;
$custom-dark: #000000;
JSON
{
  "hex": "#227642",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 142.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.11429,
    "h": 152.2
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#227642
secondary
#A94B85
accent
#49A6DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #227642

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

Preview Lab → · Contrast checker → · Palette generator →

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