#227737#227737

#227737 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.127 H 147.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#227737
RGBrgb(34, 119, 55)
HSLhsl(135, 56%, 30%)
HSVhsv(135, 71%, 47%)
CMYKcmyk(71.4%, 0%, 53.8%, 53.3%)
CIE-LABlab(43.96, -39.81, 27.86)
CIE-LCHlch(43.96, 48.59, 145.01°)
OKLaboklab(50.35% -0.1073 0.0672)
OKLCHoklch(50.35% 0.127 147.9)
XYZxyz(7.9455, 13.8087, 5.8603)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227737 #772262
analogous
#377722 #227737 #227762
triadic
#227737 #372277 #773722
tetradic
#227737 #223777 #772262 #776222
square
#227737 #223777 #772262 #776222
split-complementary
#227737 #622277 #772237
monochromatic
#07180B #144721 #227737 #30A74D #49CB69

Accessibility & contrast

On white

5.58
#227737 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#227737 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227737
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227737#FFFFFF#000000##FFFFFF
##2277371.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C31
Deuteranopia (green-blind)
#6E653C
Tritanopia (blue-blind)
#007468
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227737;
/* rgb */ color: rgb(34, 119, 55);
/* oklch */ color: oklch(50.3% 0.127 147.9);
Tailwind
colors: {
  custom: {
    50: '#699f6f',
    500: '#227737',
    950: '#000000',
  },
}
SCSS
$custom: #227737;
$custom-light: #699f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#227737",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 55
  },
  "hsl": {
    "h": 134.824,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.12662,
    "h": 147.9
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#227737
secondary
#AA4B92
accent
#49BADF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227737

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

Preview Lab → · Contrast checker → · Palette generator →

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