#227722#227722

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

Color values

HEX#227722
RGBrgb(34, 119, 34)
HSLhsl(120, 56%, 30%)
HSVhsv(120, 71%, 47%)
CMYKcmyk(71.4%, 0%, 71.4%, 53.3%)
CIE-LABlab(43.72, -42.55, 37.90)
CIE-LCHlch(43.72, 56.98, 138.30°)
OKLaboklab(50.08% -0.1155 0.0869)
OKLCHoklch(50.08% 0.145 143)
XYZxyz(7.5448, 13.6484, 3.7499)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227722 #772277
analogous
#4D7722 #227722 #22774D
triadic
#227722 #222277 #772222
tetradic
#227722 #224C77 #772277 #774D22
square
#227722 #224C77 #772277 #774D22
split-complementary
#227722 #4C2277 #77224D
monochromatic
#071807 #144714 #227722 #30A730 #49CB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227722#FFFFFF#000000##FFFFFF
##2277221.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)
#7A6B16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#0A7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227722;
/* rgb */ color: rgb(34, 119, 34);
/* oklch */ color: oklch(50.1% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#6a9f62',
    500: '#227722',
    950: '#000000',
  },
}
SCSS
$custom: #227722;
$custom-light: #6a9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#227722",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.14459,
    "h": 143
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#227722
secondary
#AA4BAA
accent
#49DFDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #227722

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

Preview Lab → · Contrast checker → · Palette generator →

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