#229228#229228

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

Color values

HEX#229228
RGBrgb(34, 146, 40)
HSLhsl(123, 62%, 35%)
HSVhsv(123, 77%, 57%)
CMYKcmyk(76.7%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.00, -51.42, 45.16)
CIE-LCHlch(53.00, 68.44, 138.71°)
OKLaboklab(57.8% -0.1393 0.1029)
OKLCHoklch(57.8% 0.173 143.5)
XYZxyz(11.3208, 21.0497, 5.4734)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229228 #92228C
analogous
#549222 #229228 #229260
triadic
#229228 #282292 #922822
tetradic
#229228 #225492 #92228C #926022
square
#229228 #225492 #92228C #926022
split-complementary
#229228 #602292 #922254
monochromatic
#0B2F0D #16601A #229228 #2EC436 #57D85E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229228#FFFFFF#000000##000000
##2292281.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)
#958417
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #229228;
/* rgb */ color: rgb(34, 146, 40);
/* oklch */ color: oklch(57.8% 0.173 143.5);
Tailwind
colors: {
  custom: {
    50: '#71b368',
    500: '#229228',
    950: '#000000',
  },
}
SCSS
$custom: #229228;
$custom-light: #71b368;
$custom-dark: #000000;
JSON
{
  "hex": "#229228",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 123.214,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.1732,
    "h": 143.5
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#229228
secondary
#BC54B6
accent
#43DDE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229228

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

Preview Lab → · Contrast checker → · Palette generator →

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