#229226#229226

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

Color values

HEX#229226
RGBrgb(34, 146, 38)
HSLhsl(122, 62%, 35%)
HSVhsv(122, 77%, 57%)
CMYKcmyk(76.7%, 0%, 74%, 42.7%)
CIE-LABlab(52.99, -51.60, 45.93)
CIE-LCHlch(52.99, 69.08, 138.33°)
OKLaboklab(57.78% -0.1399 0.1043)
OKLCHoklch(57.78% 0.174 143.3)
XYZxyz(11.2877, 21.0365, 5.2989)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229226 #92228E
analogous
#569222 #229226 #22925E
triadic
#229226 #262292 #922622
tetradic
#229226 #225692 #92228E #925E22
square
#229226 #225692 #92228E #925E22
split-complementary
#229226 #5E2292 #922256
monochromatic
#0B2F0C #166019 #229226 #2EC433 #57D85B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229226#FFFFFF#000000##000000
##2292261.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)
#958413
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #229226;
/* rgb */ color: rgb(34, 146, 38);
/* oklch */ color: oklch(57.8% 0.174 143.3);
Tailwind
colors: {
  custom: {
    50: '#71b367',
    500: '#229226',
    950: '#000000',
  },
}
SCSS
$custom: #229226;
$custom-light: #71b367;
$custom-dark: #000000;
JSON
{
  "hex": "#229226",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 122.143,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.17447,
    "h": 143.3
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#229226
secondary
#BC54B8
accent
#43DFE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229226

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

Preview Lab → · Contrast checker → · Palette generator →

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