#228C54#228C54

#228C54 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.128 H 154.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228C54
RGBrgb(34, 140, 84)
HSLhsl(148, 61%, 34%)
HSVhsv(148, 76%, 55%)
CMYKcmyk(75.7%, 0%, 40%, 45.1%)
CIE-LABlab(51.54, -42.83, 21.68)
CIE-LCHlch(51.54, 48.00, 153.15°)
OKLaboklab(56.76% -0.1155 0.0541)
OKLCHoklch(56.76% 0.128 154.9)
XYZxyz(11.6369, 19.7350, 11.5817)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C54 #8C225A
analogous
#258C22 #228C54 #228C89
triadic
#228C54 #54228C #8C5422
tetradic
#228C54 #22258C #8C225A #8C8922
square
#228C54 #22258C #8C225A #8C8922
split-complementary
#228C54 #89228C #8C2225
monochromatic
#0A2A19 #165B36 #228C54 #2EBD72 #53D591

Accessibility & contrast

On white

4.24
#228C54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228C54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C54
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C54#FFFFFF#000000##000000
##228C541.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8050
Deuteranopia (green-blind)
#7F7758
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c54;
/* rgb */ color: rgb(34, 140, 84);
/* oklch */ color: oklch(56.8% 0.128 154.9);
Tailwind
colors: {
  custom: {
    50: '#6eae84',
    500: '#228c54',
    950: '#000000',
  },
}
SCSS
$custom: #228c54;
$custom-light: #6eae84;
$custom-dark: #000000;
JSON
{
  "hex": "#228c54",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 84
  },
  "hsl": {
    "h": 148.302,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.12758,
    "h": 154.9
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#228C54
secondary
#B95188
accent
#4498E4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228C54

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

Preview Lab → · Contrast checker → · Palette generator →

#228C54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva