#228C4C#228C4C

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

Color values

HEX#228C4C
RGBrgb(34, 140, 76)
HSLhsl(144, 61%, 34%)
HSVhsv(144, 76%, 55%)
CMYKcmyk(75.7%, 0%, 45.7%, 45.1%)
CIE-LABlab(51.40, -44.37, 25.90)
CIE-LCHlch(51.40, 51.37, 149.73°)
OKLaboklab(56.6% -0.1194 0.0638)
OKLCHoklch(56.6% 0.135 151.9)
XYZxyz(11.3413, 19.6167, 10.0248)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C4C #8C2262
analogous
#2D8C22 #228C4C #228C81
triadic
#228C4C #4C228C #8C4C22
tetradic
#228C4C #222D8C #8C2262 #8C8122
square
#228C4C #222D8C #8C2262 #8C8122
split-complementary
#228C4C #81228C #8C222D
monochromatic
#0A2A17 #165B31 #228C4C #2EBD67 #53D587

Accessibility & contrast

On white

4.27
#228C4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#228C4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C4C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C4C#FFFFFF#000000##000000
##228C4C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8047
Deuteranopia (green-blind)
#807750
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c4c;
/* rgb */ color: rgb(34, 140, 76);
/* oklch */ color: oklch(56.6% 0.135 151.9);
Tailwind
colors: {
  custom: {
    50: '#6eaf7f',
    500: '#228c4c',
    950: '#000000',
  },
}
SCSS
$custom: #228c4c;
$custom-light: #6eaf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228c4c",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 76
  },
  "hsl": {
    "h": 143.774,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.13533,
    "h": 151.9
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#228C4C
secondary
#B95190
accent
#44A5E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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