#229828#229828

#229828 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.180 H 143.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#229828
RGBrgb(34, 152, 40)
HSLhsl(123, 63%, 36%)
HSVhsv(123, 78%, 60%)
CMYKcmyk(77.6%, 0%, 73.7%, 40.4%)
CIE-LABlab(55.02, -53.42, 47.24)
CIE-LCHlch(55.02, 71.31, 138.51°)
OKLaboklab(59.47% -0.1447 0.1073)
OKLCHoklch(59.47% 0.18 143.5)
XYZxyz(12.2701, 22.9483, 5.7899)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229828 #982292
analogous
#579822 #229828 #229863
triadic
#229828 #282298 #982822
tetradic
#229828 #225798 #982292 #986322
square
#229828 #225798 #982292 #986322
split-complementary
#229828 #632298 #982257
monochromatic
#0C340E #17661B #229828 #2DCA35 #5ADA61

Accessibility & contrast

On white

3.76
#229828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#229828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229828
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229828#FFFFFF#000000##000000
##2298281.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229828;
/* rgb */ color: rgb(34, 152, 40);
/* oklch */ color: oklch(59.5% 0.180 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b769',
    500: '#229828',
    950: '#000000',
  },
}
SCSS
$custom: #229828;
$custom-light: #72b769;
$custom-dark: #000000;
JSON
{
  "hex": "#229828",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 123.051,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.18013,
    "h": 143.5
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#229828
secondary
#BE57B9
accent
#41DEE6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #229828

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

Preview Lab → · Contrast checker → · Palette generator →

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