#229538#229538

#229538 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.165 H 145.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#229538
RGBrgb(34, 149, 56)
HSLhsl(131, 63%, 36%)
HSVhsv(131, 77%, 58%)
CMYKcmyk(77.2%, 0%, 62.4%, 41.6%)
CIE-LABlab(54.15, -50.72, 39.44)
CIE-LCHlch(54.15, 64.25, 142.13°)
OKLaboklab(58.8% -0.1367 0.0926)
OKLCHoklch(58.8% 0.165 145.9)
XYZxyz(12.1201, 22.1191, 7.3713)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229538 #95227F
analogous
#459522 #229538 #229571
triadic
#229538 #382295 #953822
tetradic
#229538 #224595 #95227F #957122
square
#229538 #224595 #95227F #957122
split-complementary
#229538 #712295 #952245
monochromatic
#0B3113 #176325 #229538 #2DC74B #58D971

Accessibility & contrast

On white

3.87
#229538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#229538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229538
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229538#FFFFFF#000000##000000
##2295381.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872E
Deuteranopia (green-blind)
#8A7E40
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #229538;
/* rgb */ color: rgb(34, 149, 56);
/* oklch */ color: oklch(58.8% 0.165 145.9);
Tailwind
colors: {
  custom: {
    50: '#71b572',
    500: '#229538',
    950: '#000000',
  },
}
SCSS
$custom: #229538;
$custom-light: #71b572;
$custom-dark: #000000;
JSON
{
  "hex": "#229538",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 131.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.16511,
    "h": 145.9
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#229538
secondary
#BD56A9
accent
#42C7E6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #229538

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

Preview Lab → · Contrast checker → · Palette generator →

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