#229728#229728

#229728 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.179 H 143.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#229728
RGBrgb(34, 151, 40)
HSLhsl(123, 63%, 36%)
HSVhsv(123, 77%, 59%)
CMYKcmyk(77.5%, 0%, 73.5%, 40.8%)
CIE-LABlab(54.68, -53.09, 46.89)
CIE-LCHlch(54.68, 70.83, 138.54°)
OKLaboklab(59.19% -0.1438 0.1066)
OKLCHoklch(59.19% 0.179 143.5)
XYZxyz(12.1085, 22.6251, 5.7360)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229728 #972291
analogous
#579722 #229728 #229763
triadic
#229728 #282297 #972822
tetradic
#229728 #225797 #972291 #976322
square
#229728 #225797 #972291 #976322
split-complementary
#229728 #632297 #972257
monochromatic
#0C330E #17651B #229728 #2DC935 #5ADA60

Accessibility & contrast

On white

3.80
#229728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#229728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229728
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229728#FFFFFF#000000##000000
##2297281.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229728;
/* rgb */ color: rgb(34, 151, 40);
/* oklch */ color: oklch(59.2% 0.179 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b769',
    500: '#229728',
    950: '#000000',
  },
}
SCSS
$custom: #229728;
$custom-light: #72b769;
$custom-dark: #000000;
JSON
{
  "hex": "#229728",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 123.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.179,
    "h": 143.5
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#229728
secondary
#BE57B9
accent
#42DEE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #229728

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

Preview Lab → · Contrast checker → · Palette generator →

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