#227220#227220

#227220 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.140 H 142.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#227220
RGBrgb(34, 114, 32)
HSLhsl(119, 56%, 29%)
HSVhsv(119, 72%, 45%)
CMYKcmyk(70.2%, 0%, 71.9%, 55.3%)
CIE-LABlab(41.97, -40.90, 36.91)
CIE-LCHlch(41.97, 55.09, 137.94°)
OKLaboklab(48.62% -0.1112 0.0846)
OKLCHoklch(48.62% 0.14 142.7)
XYZxyz(6.9373, 12.4783, 3.4092)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227220 #702072
analogous
#4B7220 #227220 #207247
triadic
#227220 #202272 #722022
tetradic
#227220 #204B72 #702072 #724720
square
#227220 #204B72 #702072 #724720
split-complementary
#227220 #472072 #72204B
monochromatic
#071807 #144213 #227220 #30A22D #46CA42

Accessibility & contrast

On white

6.01
#227220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#227220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227220
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227220#FFFFFF#000000##FFFFFF
##2272201.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#6B6128
Tritanopia (blue-blind)
#0F6F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227220;
/* rgb */ color: rgb(34, 114, 32);
/* oklch */ color: oklch(48.6% 0.140 142.7);
Tailwind
colors: {
  custom: {
    50: '#699b60',
    500: '#227220',
    950: '#000000',
  },
}
SCSS
$custom: #227220;
$custom-light: #699b60;
$custom-dark: #000000;
JSON
{
  "hex": "#227220",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 118.537,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.13969,
    "h": 142.7
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#227220
secondary
#A348A6
accent
#48DFDC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227220

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

Preview Lab → · Contrast checker → · Palette generator →

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