#229227#229227

#229227 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.174 H 143.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#229227
RGBrgb(34, 146, 39)
HSLhsl(123, 62%, 35%)
HSVhsv(123, 77%, 57%)
CMYKcmyk(76.7%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.00, -51.51, 45.55)
CIE-LCHlch(53.00, 68.76, 138.52°)
OKLaboklab(57.79% -0.1396 0.1036)
OKLCHoklch(57.79% 0.174 143.4)
XYZxyz(11.3041, 21.0430, 5.3850)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229227 #92228D
analogous
#559222 #229227 #22925F
triadic
#229227 #272292 #922722
tetradic
#229227 #225592 #92228D #925F22
square
#229227 #225592 #92228D #925F22
split-complementary
#229227 #5F2292 #922255
monochromatic
#0B2F0C #16601A #229227 #2EC434 #57D85C

Accessibility & contrast

On white

4.03
#229227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#229227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229227
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229227#FFFFFF#000000##000000
##2292271.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #229227;
/* rgb */ color: rgb(34, 146, 39);
/* oklch */ color: oklch(57.8% 0.174 143.4);
Tailwind
colors: {
  custom: {
    50: '#71b368',
    500: '#229227',
    950: '#000000',
  },
}
SCSS
$custom: #229227;
$custom-light: #71b368;
$custom-dark: #000000;
JSON
{
  "hex": "#229227",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 122.679,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.17384,
    "h": 143.4
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#229227
secondary
#BC54B7
accent
#43DEE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229227

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

Preview Lab → · Contrast checker → · Palette generator →

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