#227121#227121

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

Color values

HEX#227121
RGBrgb(34, 113, 33)
HSLhsl(119, 55%, 29%)
HSVhsv(119, 71%, 44%)
CMYKcmyk(69.9%, 0%, 70.8%, 55.7%)
CIE-LABlab(41.63, -40.42, 36.10)
CIE-LCHlch(41.63, 54.20, 138.23°)
OKLaboklab(48.34% -0.1098 0.083)
OKLCHoklch(48.34% 0.138 142.9)
XYZxyz(6.8389, 12.2594, 3.4444)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227121 #702171
analogous
#4A7121 #227121 #217148
triadic
#227121 #212271 #712122
tetradic
#227121 #214A71 #702171 #714821
square
#227121 #214A71 #702171 #714821
split-complementary
#227121 #482171 #71214A
monochromatic
#071807 #144213 #227121 #30A02F #46C844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227121#FFFFFF#000000##FFFFFF
##2271211.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)
#746616
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227121;
/* rgb */ color: rgb(34, 113, 33);
/* oklch */ color: oklch(48.3% 0.138 142.9);
Tailwind
colors: {
  custom: {
    50: '#699b61',
    500: '#227121',
    950: '#000000',
  },
}
SCSS
$custom: #227121;
$custom-light: #699b61;
$custom-dark: #000000;
JSON
{
  "hex": "#227121",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 119.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.13767,
    "h": 142.9
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#227121
secondary
#A349A5
accent
#4ADEDC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #227121

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

Preview Lab → · Contrast checker → · Palette generator →

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