#228232#228232

#228232 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.146 H 145.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228232
RGBrgb(34, 130, 50)
HSLhsl(130, 59%, 32%)
HSVhsv(130, 74%, 51%)
CMYKcmyk(73.8%, 0%, 61.5%, 49%)
CIE-LABlab(47.67, -44.71, 34.86)
CIE-LCHlch(47.67, 56.70, 142.06°)
OKLaboklab(53.4% -0.1207 0.0822)
OKLCHoklch(53.4% 0.146 145.7)
XYZxyz(9.2174, 16.5346, 5.7227)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228232 #822272
analogous
#428222 #228232 #228262
triadic
#228232 #322282 #823222
tetradic
#228232 #224282 #822272 #826222
square
#228232 #224282 #822272 #826222
split-complementary
#228232 #622282 #822242
monochromatic
#09210D #15511F #228232 #2FB345 #4ED164

Accessibility & contrast

On white

4.88
#228232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#228232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228232
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228232#FFFFFF#000000##FFFFFF
##2282321.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762A
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228232;
/* rgb */ color: rgb(34, 130, 50);
/* oklch */ color: oklch(53.4% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ca76d',
    500: '#228232',
    950: '#000000',
  },
}
SCSS
$custom: #228232;
$custom-light: #6ca76d;
$custom-dark: #000000;
JSON
{
  "hex": "#228232",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 130,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.534,
    "c": 0.146,
    "h": 145.7
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228232

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

Preview Lab → · Contrast checker → · Palette generator →

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