#227020#227020

#227020 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.137 H 142.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#227020
RGBrgb(34, 112, 32)
HSLhsl(119, 56%, 28%)
HSVhsv(119, 71%, 44%)
CMYKcmyk(69.6%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.27, -40.15, 36.16)
CIE-LCHlch(41.27, 54.03, 137.99°)
OKLaboklab(48.04% -0.1091 0.083)
OKLCHoklch(48.04% 0.137 142.7)
XYZxyz(6.7142, 12.0320, 3.3348)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227020 #6E2070
analogous
#4A7020 #227020 #207046
triadic
#227020 #202270 #702022
tetradic
#227020 #204A70 #6E2070 #704620
square
#227020 #204A70 #6E2070 #704620
split-complementary
#227020 #462070 #70204A
monochromatic
#071807 #144012 #227020 #30A02E #45C942

Accessibility & contrast

On white

6.16
#227020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#227020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227020
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227020#FFFFFF#000000##FFFFFF
##2270201.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736515
Deuteranopia (green-blind)
#695F28
Tritanopia (blue-blind)
#106D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #227020;
/* rgb */ color: rgb(34, 112, 32);
/* oklch */ color: oklch(48.0% 0.137 142.7);
Tailwind
colors: {
  custom: {
    50: '#699a60',
    500: '#227020',
    950: '#000000',
  },
}
SCSS
$custom: #227020;
$custom-light: #699a60;
$custom-dark: #000000;
JSON
{
  "hex": "#227020",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 118.5,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48041,
    "c": 0.13712,
    "h": 142.7
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#227020
secondary
#A148A4
accent
#49DFDB
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227020

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

Preview Lab → · Contrast checker → · Palette generator →

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