#227720#227720

#227720 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.146 H 142.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#227720
RGBrgb(34, 119, 32)
HSLhsl(119, 58%, 30%)
HSVhsv(119, 73%, 47%)
CMYKcmyk(71.4%, 0%, 73.1%, 53.3%)
CIE-LABlab(43.71, -42.74, 38.74)
CIE-LCHlch(43.71, 57.69, 137.81°)
OKLaboklab(50.06% -0.1162 0.0884)
OKLCHoklch(50.06% 0.146 142.7)
XYZxyz(7.5168, 13.6372, 3.6023)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227720 #752077
analogous
#4D7720 #227720 #20774A
triadic
#227720 #202277 #772022
tetradic
#227720 #204D77 #752077 #774A20
square
#227720 #204D77 #752077 #774A20
split-complementary
#227720 #4A2077 #77204D
monochromatic
#071806 #144713 #227720 #30A72D #48CD45

Accessibility & contrast

On white

5.63
#227720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227720
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227720#FFFFFF#000000##FFFFFF
##2277201.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B12
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#0B7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227720;
/* rgb */ color: rgb(34, 119, 32);
/* oklch */ color: oklch(50.1% 0.146 142.7);
Tailwind
colors: {
  custom: {
    50: '#6b9f61',
    500: '#227720',
    950: '#000000',
  },
}
SCSS
$custom: #227720;
$custom-light: #6b9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#227720",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 118.621,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.14599,
    "h": 142.7
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#227720
secondary
#A848AA
accent
#47E1DD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #227720

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

Preview Lab → · Contrast checker → · Palette generator →

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