#227122#227122

#227122 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.137 H 143.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#227122
RGBrgb(34, 113, 34)
HSLhsl(120, 54%, 29%)
HSVhsv(120, 70%, 44%)
CMYKcmyk(69.9%, 0%, 69.9%, 55.7%)
CIE-LABlab(41.63, -40.32, 35.66)
CIE-LCHlch(41.63, 53.83, 138.51°)
OKLaboklab(48.35% -0.1095 0.0822)
OKLCHoklch(48.35% 0.137 143.1)
XYZxyz(6.8531, 12.2651, 3.5193)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227122 #712271
analogous
#4A7122 #227122 #22714A
triadic
#227122 #222271 #712222
tetradic
#227122 #224A71 #712271 #714A22
square
#227122 #224A71 #712271 #714A22
split-complementary
#227122 #4A2271 #71224A
monochromatic
#071807 #144214 #227122 #30A030 #46C746

Accessibility & contrast

On white

6.08
#227122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#227122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227122
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227122#FFFFFF#000000##FFFFFF
##2271221.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736617
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#0E6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227122;
/* rgb */ color: rgb(34, 113, 34);
/* oklch */ color: oklch(48.4% 0.137 143.1);
Tailwind
colors: {
  custom: {
    50: '#699b61',
    500: '#227122',
    950: '#000000',
  },
}
SCSS
$custom: #227122;
$custom-light: #699b61;
$custom-dark: #000000;
JSON
{
  "hex": "#227122",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.13692,
    "h": 143.1
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#227122
secondary
#A44AA4
accent
#4BDDDD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227122

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

Preview Lab → · Contrast checker → · Palette generator →

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