#229531#229531

#229531 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.7% C 0.171 H 144.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#229531
RGBrgb(34, 149, 49)
HSLhsl(128, 63%, 36%)
HSVhsv(128, 77%, 58%)
CMYKcmyk(77.2%, 0%, 67.1%, 41.6%)
CIE-LABlab(54.09, -51.53, 42.54)
CIE-LCHlch(54.09, 66.83, 140.46°)
OKLaboklab(58.72% -0.1392 0.0985)
OKLCHoklch(58.72% 0.171 144.7)
XYZxyz(11.9607, 22.0553, 6.5319)
Luminance0.2206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229531 #952286
analogous
#4C9522 #229531 #22956A
triadic
#229531 #312295 #953122
tetradic
#229531 #224C95 #952286 #956A22
square
#229531 #224C95 #952286 #956A22
split-complementary
#229531 #6A2295 #95224C
monochromatic
#0B3110 #176321 #229531 #2DC741 #58D969

Accessibility & contrast

On white

3.88
#229531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#229531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229531
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229531#FFFFFF#000000##000000
##2295311.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#8B7E3A
Tritanopia (blue-blind)
#009180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #229531;
/* rgb */ color: rgb(34, 149, 49);
/* oklch */ color: oklch(58.7% 0.171 144.7);
Tailwind
colors: {
  custom: {
    50: '#71b56e',
    500: '#229531',
    950: '#000000',
  },
}
SCSS
$custom: #229531;
$custom-light: #71b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#229531",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 127.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.17052,
    "h": 144.7
  },
  "luminance": 0.22057
}

Semantic roles & 50–950 ramp

primary
#229531
secondary
#BD56B0
accent
#42D1E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #229531

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

Preview Lab → · Contrast checker → · Palette generator →

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