#227228#227228

#227228 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.133 H 144.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#227228
RGBrgb(34, 114, 40)
HSLhsl(125, 54%, 29%)
HSVhsv(125, 70%, 45%)
CMYKcmyk(70.2%, 0%, 64.9%, 55.3%)
CIE-LABlab(42.04, -40.00, 33.29)
CIE-LCHlch(42.04, 52.05, 140.23°)
OKLaboklab(48.71% -0.1083 0.0779)
OKLCHoklch(48.71% 0.133 144.3)
XYZxyz(7.0596, 12.5272, 4.0530)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227228 #72226C
analogous
#447222 #227228 #227250
triadic
#227228 #282272 #722822
tetradic
#227228 #224472 #72226C #725022
square
#227228 #224472 #72226C #725022
split-complementary
#227228 #502272 #722244
monochromatic
#071808 #144317 #227228 #30A139 #46C850

Accessibility & contrast

On white

5.99
#227228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#227228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227228
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227228#FFFFFF#000000##FFFFFF
##2272281.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#0B6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227228;
/* rgb */ color: rgb(34, 114, 40);
/* oklch */ color: oklch(48.7% 0.133 144.3);
Tailwind
colors: {
  custom: {
    50: '#699b65',
    500: '#227228',
    950: '#000000',
  },
}
SCSS
$custom: #227228;
$custom-light: #699b65;
$custom-dark: #000000;
JSON
{
  "hex": "#227228",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 124.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.13342,
    "h": 144.3
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#227228
secondary
#A54B9E
accent
#4AD2DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227228

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

Preview Lab → · Contrast checker → · Palette generator →

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