#228332#228332

#228332 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.147 H 145.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#228332
RGBrgb(34, 131, 50)
HSLhsl(130, 59%, 32%)
HSVhsv(130, 74%, 51%)
CMYKcmyk(74%, 0%, 61.8%, 48.6%)
CIE-LABlab(48.01, -45.08, 35.25)
CIE-LCHlch(48.01, 57.23, 141.98°)
OKLaboklab(53.68% -0.1216 0.0831)
OKLCHoklch(53.68% 0.147 145.7)
XYZxyz(9.3511, 16.8019, 5.7673)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228332 #832273
analogous
#428322 #228332 #228363
triadic
#228332 #322283 #833222
tetradic
#228332 #224283 #832273 #836322
square
#228332 #224283 #832273 #836322
split-complementary
#228332 #632283 #832242
monochromatic
#09220D #15521F #228332 #2FB445 #4ED164

Accessibility & contrast

On white

4.82
#228332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#228332 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228332
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228332#FFFFFF#000000##FFFFFF
##2283321.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857729
Deuteranopia (green-blind)
#7A6F39
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228332;
/* rgb */ color: rgb(34, 131, 50);
/* oklch */ color: oklch(53.7% 0.147 145.7);
Tailwind
colors: {
  custom: {
    50: '#6da86d',
    500: '#228332',
    950: '#000000',
  },
}
SCSS
$custom: #228332;
$custom-light: #6da86d;
$custom-dark: #000000;
JSON
{
  "hex": "#228332",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 129.897,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.1473,
    "h": 145.7
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#228332
secondary
#B44CA3
accent
#46C8E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228332

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

Preview Lab → · Contrast checker → · Palette generator →

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