#227420#227420

#227420 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.142 H 142.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#227420
RGBrgb(34, 116, 32)
HSLhsl(119, 57%, 29%)
HSVhsv(119, 72%, 45%)
CMYKcmyk(70.7%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.66, -41.64, 37.64)
CIE-LCHlch(42.66, 56.13, 137.89°)
OKLaboklab(49.2% -0.1132 0.0861)
OKLCHoklch(49.2% 0.142 142.7)
XYZxyz(7.1654, 12.9344, 3.4852)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227420 #722074
analogous
#4C7420 #227420 #207448
triadic
#227420 #202274 #742022
tetradic
#227420 #204C74 #722074 #744820
square
#227420 #204C74 #722074 #744820
split-complementary
#227420 #482074 #74204C
monochromatic
#071807 #144413 #227420 #30A42D #46CB43

Accessibility & contrast

On white

5.85
#227420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#227420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227420
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227420#FFFFFF#000000##FFFFFF
##2274201.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#0D7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227420;
/* rgb */ color: rgb(34, 116, 32);
/* oklch */ color: oklch(49.2% 0.142 142.7);
Tailwind
colors: {
  custom: {
    50: '#6a9d60',
    500: '#227420',
    950: '#000000',
  },
}
SCSS
$custom: #227420;
$custom-light: #6a9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#227420",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 118.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.14223,
    "h": 142.7
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#227420
secondary
#A548A8
accent
#48E0DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227420

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

Preview Lab → · Contrast checker → · Palette generator →

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