#228532#228532

#228532 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.150 H 145.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#228532
RGBrgb(34, 133, 50)
HSLhsl(130, 59%, 33%)
HSVhsv(130, 74%, 52%)
CMYKcmyk(74.4%, 0%, 62.4%, 47.8%)
CIE-LABlab(48.69, -45.81, 36.04)
CIE-LCHlch(48.69, 58.28, 141.81°)
OKLaboklab(54.25% -0.1236 0.0847)
OKLCHoklch(54.25% 0.15 145.6)
XYZxyz(9.6223, 17.3443, 5.8577)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228532 #852275
analogous
#438522 #228532 #228563
triadic
#228532 #322285 #853222
tetradic
#228532 #224385 #852275 #856322
square
#228532 #224385 #852275 #856322
split-complementary
#228532 #632285 #852243
monochromatic
#09240D #165420 #228532 #2EB644 #4FD264

Accessibility & contrast

On white

4.70
#228532 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#228532 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228532
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228532#FFFFFF#000000##FFFFFF
##2285321.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#7C7139
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228532;
/* rgb */ color: rgb(34, 133, 50);
/* oklch */ color: oklch(54.2% 0.150 145.6);
Tailwind
colors: {
  custom: {
    50: '#6da96d',
    500: '#228532',
    950: '#000000',
  },
}
SCSS
$custom: #228532;
$custom-light: #6da96d;
$custom-dark: #000000;
JSON
{
  "hex": "#228532",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 129.697,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.14988,
    "h": 145.6
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#228532
secondary
#B64DA5
accent
#45C9E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228532

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

Preview Lab → · Contrast checker → · Palette generator →

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