#228C4E#228C4E

#228C4E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.133 H 152.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#228C4E
RGBrgb(34, 140, 78)
HSLhsl(145, 61%, 34%)
HSVhsv(145, 76%, 55%)
CMYKcmyk(75.7%, 0%, 44.3%, 45.1%)
CIE-LABlab(51.43, -44.00, 24.85)
CIE-LCHlch(51.43, 50.53, 150.54°)
OKLaboklab(56.64% -0.1184 0.0614)
OKLCHoklch(56.64% 0.133 152.6)
XYZxyz(11.4119, 19.6450, 10.3967)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C4E #8C2260
analogous
#2B8C22 #228C4E #228C83
triadic
#228C4E #4E228C #8C4E22
tetradic
#228C4E #222B8C #8C2260 #8C8322
square
#228C4E #222B8C #8C2260 #8C8322
split-complementary
#228C4E #83228C #8C222B
monochromatic
#0A2A17 #165B33 #228C4E #2EBD69 #53D589

Accessibility & contrast

On white

4.26
#228C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#228C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C4E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C4E#FFFFFF#000000##000000
##228C4E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8049
Deuteranopia (green-blind)
#807752
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c4e;
/* rgb */ color: rgb(34, 140, 78);
/* oklch */ color: oklch(56.6% 0.133 152.6);
Tailwind
colors: {
  custom: {
    50: '#6eae80',
    500: '#228c4e',
    950: '#000000',
  },
}
SCSS
$custom: #228c4e;
$custom-light: #6eae80;
$custom-dark: #000000;
JSON
{
  "hex": "#228c4e",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 144.906,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.1334,
    "h": 152.6
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#228C4E
secondary
#B9518E
accent
#44A2E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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