#229827#229827

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

Color values

HEX#229827
RGBrgb(34, 152, 39)
HSLhsl(123, 63%, 36%)
HSVhsv(123, 78%, 60%)
CMYKcmyk(77.6%, 0%, 74.3%, 40.4%)
CIE-LABlab(55.01, -53.50, 47.61)
CIE-LCHlch(55.01, 71.62, 138.33°)
OKLaboklab(59.46% -0.145 0.1079)
OKLCHoklch(59.46% 0.181 143.3)
XYZxyz(12.2533, 22.9416, 5.7015)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229827 #982293
analogous
#589822 #229827 #229862
triadic
#229827 #272298 #982722
tetradic
#229827 #225898 #982293 #986222
square
#229827 #225898 #982293 #986222
split-complementary
#229827 #622298 #982258
monochromatic
#0C340D #17661A #229827 #2DCA34 #5ADA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229827#FFFFFF#000000##000000
##2298271.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)
#9B8912
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229827;
/* rgb */ color: rgb(34, 152, 39);
/* oklch */ color: oklch(59.5% 0.181 143.3);
Tailwind
colors: {
  custom: {
    50: '#72b769',
    500: '#229827',
    950: '#000000',
  },
}
SCSS
$custom: #229827;
$custom-light: #72b769;
$custom-dark: #000000;
JSON
{
  "hex": "#229827",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 122.542,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59463,
    "c": 0.18075,
    "h": 143.3
  },
  "luminance": 0.22943
}

Semantic roles & 50–950 ramp

primary
#229827
secondary
#BE57BA
accent
#41DFE6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #229827

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

Preview Lab → · Contrast checker → · Palette generator →

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