#229838#229838

#229838 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.169 H 145.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#229838
RGBrgb(34, 152, 56)
HSLhsl(131, 63%, 36%)
HSVhsv(131, 78%, 60%)
CMYKcmyk(77.6%, 0%, 63.2%, 40.4%)
CIE-LABlab(55.16, -51.75, 40.58)
CIE-LCHlch(55.16, 65.77, 141.90°)
OKLaboklab(59.63% -0.1395 0.0951)
OKLCHoklch(59.63% 0.169 145.7)
XYZxyz(12.6008, 23.0806, 7.5315)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229838 #982282
analogous
#479822 #229838 #229873
triadic
#229838 #382298 #983822
tetradic
#229838 #224798 #982282 #987322
square
#229838 #224798 #982282 #987322
split-complementary
#229838 #732298 #982247
monochromatic
#0C3413 #176626 #229838 #2DCA4A #5ADA72

Accessibility & contrast

On white

3.74
#229838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#229838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229838
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229838#FFFFFF#000000##000000
##2298381.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2D
Deuteranopia (green-blind)
#8D8040
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229838;
/* rgb */ color: rgb(34, 152, 56);
/* oklch */ color: oklch(59.6% 0.169 145.7);
Tailwind
colors: {
  custom: {
    50: '#72b772',
    500: '#229838',
    950: '#000000',
  },
}
SCSS
$custom: #229838;
$custom-light: #72b772;
$custom-dark: #000000;
JSON
{
  "hex": "#229838",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 131.186,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.16881,
    "h": 145.7
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

primary
#229838
secondary
#BE57AB
accent
#41C8E6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #229838

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

Preview Lab → · Contrast checker → · Palette generator →

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