#227422#227422

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

Color values

HEX#227422
RGBrgb(34, 116, 34)
HSLhsl(120, 55%, 29%)
HSVhsv(120, 71%, 45%)
CMYKcmyk(70.7%, 0%, 70.7%, 54.5%)
CIE-LABlab(42.68, -41.44, 36.79)
CIE-LCHlch(42.68, 55.41, 138.40°)
OKLaboklab(49.22% -0.1125 0.0846)
OKLCHoklch(49.22% 0.141 143.1)
XYZxyz(7.1934, 12.9456, 3.6327)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227422 #742274
analogous
#4B7422 #227422 #22744B
triadic
#227422 #222274 #742222
tetradic
#227422 #224B74 #742274 #744B22
square
#227422 #224B74 #742274 #744B22
split-complementary
#227422 #4B2274 #74224B
monochromatic
#071807 #144514 #227422 #30A330 #47C947

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227422#FFFFFF#000000##FFFFFF
##2274221.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)
#776917
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#0C7163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227422;
/* rgb */ color: rgb(34, 116, 34);
/* oklch */ color: oklch(49.2% 0.141 143.1);
Tailwind
colors: {
  custom: {
    50: '#6a9d62',
    500: '#227422',
    950: '#000000',
  },
}
SCSS
$custom: #227422;
$custom-light: #6a9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#227422",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.14078,
    "h": 143.1
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#227422
secondary
#A74BA7
accent
#4ADEDE
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227422

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

Preview Lab → · Contrast checker → · Palette generator →

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