#228C32#228C32

#228C32 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.159 H 145.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228C32
RGBrgb(34, 140, 50)
HSLhsl(129, 61%, 34%)
HSVhsv(129, 76%, 55%)
CMYKcmyk(75.7%, 0%, 64.3%, 45.1%)
CIE-LABlab(51.07, -48.31, 38.74)
CIE-LCHlch(51.07, 61.92, 141.27°)
OKLaboklab(56.22% -0.1304 0.0905)
OKLCHoklch(56.22% 0.159 145.2)
XYZxyz(10.6128, 19.3253, 6.1878)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C32 #8C227C
analogous
#478C22 #228C32 #228C67
triadic
#228C32 #32228C #8C3222
tetradic
#228C32 #22478C #8C227C #8C6722
square
#228C32 #22478C #8C227C #8C6722
split-complementary
#228C32 #67228C #8C2247
monochromatic
#0A2A0F #165B20 #228C32 #2EBD44 #53D567

Accessibility & contrast

On white

4.32
#228C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#228C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C32
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C32#FFFFFF#000000##000000
##228C321.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F28
Deuteranopia (green-blind)
#82763A
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c32;
/* rgb */ color: rgb(34, 140, 50);
/* oklch */ color: oklch(56.2% 0.159 145.2);
Tailwind
colors: {
  custom: {
    50: '#6faf6e',
    500: '#228c32',
    950: '#000000',
  },
}
SCSS
$custom: #228c32;
$custom-light: #6faf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228c32",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 129.057,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56216,
    "c": 0.15874,
    "h": 145.2
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#228C32
secondary
#B951A9
accent
#44CCE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228C32

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

Preview Lab → · Contrast checker → · Palette generator →

#228C32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva