#228432#228432

#228432 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.149 H 145.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#228432
RGBrgb(34, 132, 50)
HSLhsl(130, 59%, 33%)
HSVhsv(130, 74%, 52%)
CMYKcmyk(74.2%, 0%, 62.1%, 48.2%)
CIE-LABlab(48.35, -45.45, 35.64)
CIE-LCHlch(48.35, 57.76, 141.89°)
OKLaboklab(53.97% -0.1226 0.0839)
OKLCHoklch(53.97% 0.149 145.6)
XYZxyz(9.4860, 17.0718, 5.8123)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228432 #842274
analogous
#438422 #228432 #228463
triadic
#228432 #322284 #843222
tetradic
#228432 #224384 #842274 #846322
square
#228432 #224384 #842274 #846322
split-complementary
#228432 #632284 #842243
monochromatic
#09230D #155320 #228432 #2FB544 #4FD264

Accessibility & contrast

On white

4.76
#228432 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#228432 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228432
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228432#FFFFFF#000000##FFFFFF
##2284321.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867829
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228432;
/* rgb */ color: rgb(34, 132, 50);
/* oklch */ color: oklch(54.0% 0.149 145.6);
Tailwind
colors: {
  custom: {
    50: '#6da96d',
    500: '#228432',
    950: '#000000',
  },
}
SCSS
$custom: #228432;
$custom-light: #6da96d;
$custom-dark: #000000;
JSON
{
  "hex": "#228432",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 50
  },
  "hsl": {
    "h": 129.796,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.14858,
    "h": 145.6
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#228432
secondary
#B54DA4
accent
#46C9E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228432

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

Preview Lab → · Contrast checker → · Palette generator →

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