#228442#228442

#228442 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.134 H 149.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228442
RGBrgb(34, 132, 66)
HSLhsl(140, 59%, 33%)
HSVhsv(140, 74%, 52%)
CMYKcmyk(74.2%, 0%, 50%, 48.2%)
CIE-LABlab(48.55, -43.05, 27.68)
CIE-LCHlch(48.55, 51.18, 147.26°)
OKLaboklab(54.2% -0.1158 0.0674)
OKLCHoklch(54.2% 0.134 149.8)
XYZxyz(9.8935, 17.2348, 7.9584)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228442 #842264
analogous
#338422 #228442 #228473
triadic
#228442 #422284 #844222
tetradic
#228442 #223384 #842264 #847322
square
#228442 #223384 #842264 #847322
split-complementary
#228442 #732284 #842233
monochromatic
#092311 #15532A #228442 #2FB55A #4FD27A

Accessibility & contrast

On white

4.72
#228442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#228442 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228442
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228442#FFFFFF#000000##FFFFFF
##2284421.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228442;
/* rgb */ color: rgb(34, 132, 66);
/* oklch */ color: oklch(54.2% 0.134 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ca977',
    500: '#228442',
    950: '#000000',
  },
}
SCSS
$custom: #228442;
$custom-light: #6ca977;
$custom-dark: #000000;
JSON
{
  "hex": "#228442",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 66
  },
  "hsl": {
    "h": 139.592,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.542,
    "c": 0.13403,
    "h": 149.8
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#228442
secondary
#B54D93
accent
#46AFE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228442

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

Preview Lab → · Contrast checker → · Palette generator →

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