#228436#228436

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

Color values

HEX#228436
RGBrgb(34, 132, 54)
HSLhsl(132, 59%, 33%)
HSVhsv(132, 74%, 52%)
CMYKcmyk(74.2%, 0%, 59.1%, 48.2%)
CIE-LABlab(48.40, -44.91, 33.73)
CIE-LCHlch(48.40, 56.16, 143.09°)
OKLaboklab(54.02% -0.121 0.0801)
OKLCHoklch(54.02% 0.145 146.5)
XYZxyz(9.5761, 17.1079, 6.2868)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228436 #842270
analogous
#3F8422 #228436 #228467
triadic
#228436 #362284 #843622
tetradic
#228436 #223F84 #842270 #846722
square
#228436 #223F84 #842270 #846722
split-complementary
#228436 #672284 #84223F
monochromatic
#09230E #155322 #228436 #2FB54A #4FD269

Accessibility & contrast

On white

4.75
#228436 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#228436 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228436
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228436#FFFFFF#000000##FFFFFF
##2284361.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782E
Deuteranopia (green-blind)
#7A703C
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228436;
/* rgb */ color: rgb(34, 132, 54);
/* oklch */ color: oklch(54.0% 0.145 146.5);
Tailwind
colors: {
  custom: {
    50: '#6da96f',
    500: '#228436',
    950: '#000000',
  },
}
SCSS
$custom: #228436;
$custom-light: #6da96f;
$custom-dark: #000000;
JSON
{
  "hex": "#228436",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 54
  },
  "hsl": {
    "h": 132.245,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.14514,
    "h": 146.5
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#228436
secondary
#B54DA0
accent
#46C2E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228436

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

Preview Lab → · Contrast checker → · Palette generator →

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