#228440#228440

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

Color values

HEX#228440
RGBrgb(34, 132, 64)
HSLhsl(138, 59%, 33%)
HSVhsv(138, 74%, 52%)
CMYKcmyk(74.2%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.53, -43.39, 28.71)
CIE-LCHlch(48.53, 52.03, 146.50°)
OKLaboklab(54.17% -0.1167 0.0697)
OKLCHoklch(54.17% 0.136 149.2)
XYZxyz(9.8356, 17.2117, 7.6533)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228440 #842266
analogous
#358422 #228440 #228471
triadic
#228440 #402284 #844022
tetradic
#228440 #223584 #842266 #847122
square
#228440 #223584 #842266 #847122
split-complementary
#228440 #712284 #842235
monochromatic
#092311 #155328 #228440 #2FB558 #4FD277

Accessibility & contrast

On white

4.73
#228440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#228440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228440
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228440#FFFFFF#000000##FFFFFF
##2284401.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783A
Deuteranopia (green-blind)
#797045
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228440;
/* rgb */ color: rgb(34, 132, 64);
/* oklch */ color: oklch(54.2% 0.136 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ca976',
    500: '#228440',
    950: '#000000',
  },
}
SCSS
$custom: #228440;
$custom-light: #6ca976;
$custom-dark: #000000;
JSON
{
  "hex": "#228440",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 138.367,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.13594,
    "h": 149.2
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#228440
secondary
#B54D95
accent
#46B2E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #228440

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

Preview Lab → · Contrast checker → · Palette generator →

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