#228C4D#228C4D

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

Color values

HEX#228C4D
RGBrgb(34, 140, 77)
HSLhsl(144, 61%, 34%)
HSVhsv(144, 76%, 55%)
CMYKcmyk(75.7%, 0%, 45%, 45.1%)
CIE-LABlab(51.42, -44.18, 25.38)
CIE-LCHlch(51.42, 50.95, 150.13°)
OKLaboklab(56.62% -0.1189 0.0626)
OKLCHoklch(56.62% 0.134 152.2)
XYZxyz(11.3763, 19.6307, 10.2093)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C4D #8C2261
analogous
#2C8C22 #228C4D #228C82
triadic
#228C4D #4D228C #8C4D22
tetradic
#228C4D #222C8C #8C2261 #8C8222
square
#228C4D #222C8C #8C2261 #8C8222
split-complementary
#228C4D #82228C #8C222C
monochromatic
#0A2A17 #165B32 #228C4D #2EBD68 #53D588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228C4D#FFFFFF#000000##000000
##228C4D1.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)
#8C8048
Deuteranopia (green-blind)
#807751
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c4d;
/* rgb */ color: rgb(34, 140, 77);
/* oklch */ color: oklch(56.6% 0.134 152.2);
Tailwind
colors: {
  custom: {
    50: '#6eaf7f',
    500: '#228c4d',
    950: '#000000',
  },
}
SCSS
$custom: #228c4d;
$custom-light: #6eaf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228c4d",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 77
  },
  "hsl": {
    "h": 144.34,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56621,
    "c": 0.13436,
    "h": 152.2
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#228C4D
secondary
#B9518F
accent
#44A3E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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