#227620#227620

#227620 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.145 H 142.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#227620
RGBrgb(34, 118, 32)
HSLhsl(119, 57%, 29%)
HSVhsv(119, 73%, 46%)
CMYKcmyk(71.2%, 0%, 72.9%, 53.7%)
CIE-LABlab(43.36, -42.38, 38.38)
CIE-LCHlch(43.36, 57.17, 137.84°)
OKLaboklab(49.78% -0.1152 0.0877)
OKLCHoklch(49.78% 0.145 142.7)
XYZxyz(7.3984, 13.4004, 3.5629)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227620 #742076
analogous
#4D7620 #227620 #207649
triadic
#227620 #202276 #762022
tetradic
#227620 #204D76 #742076 #764920
square
#227620 #204D76 #742076 #764920
split-complementary
#227620 #492076 #76204D
monochromatic
#071807 #144613 #227620 #30A62D #47CC44

Accessibility & contrast

On white

5.71
#227620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#227620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227620
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227620#FFFFFF#000000##FFFFFF
##2276201.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#0C7265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227620;
/* rgb */ color: rgb(34, 118, 32);
/* oklch */ color: oklch(49.8% 0.145 142.7);
Tailwind
colors: {
  custom: {
    50: '#6a9e61',
    500: '#227620',
    950: '#000000',
  },
}
SCSS
$custom: #227620;
$custom-light: #6a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#227620",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 118.605,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.14474,
    "h": 142.7
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#227620
secondary
#A748A9
accent
#47E1DD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227620

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

Preview Lab → · Contrast checker → · Palette generator →

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