#228A4D#228A4D

#228A4D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.132 H 152.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228A4D
RGBrgb(34, 138, 77)
HSLhsl(145, 60%, 34%)
HSVhsv(145, 75%, 54%)
CMYKcmyk(75.4%, 0%, 44.2%, 45.9%)
CIE-LABlab(50.75, -43.40, 24.51)
CIE-LCHlch(50.75, 49.85, 150.55°)
OKLaboklab(56.07% -0.1169 0.0606)
OKLCHoklch(56.07% 0.132 152.6)
XYZxyz(11.0867, 19.0516, 10.1128)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A4D #8A225F
analogous
#2B8A22 #228A4D #228A81
triadic
#228A4D #4D228A #8A4D22
tetradic
#228A4D #222B8A #8A225F #8A8122
square
#228A4D #222B8A #8A225F #8A8122
split-complementary
#228A4D #81228A #8A222B
monochromatic
#0A2816 #165932 #228A4D #2EBB68 #52D488

Accessibility & contrast

On white

4.37
#228A4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#228A4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A4D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A4D#FFFFFF#000000##000000
##228A4D1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E49
Deuteranopia (green-blind)
#7E7551
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a4d;
/* rgb */ color: rgb(34, 138, 77);
/* oklch */ color: oklch(56.1% 0.132 152.6);
Tailwind
colors: {
  custom: {
    50: '#6dad7f',
    500: '#228a4d',
    950: '#000000',
  },
}
SCSS
$custom: #228a4d;
$custom-light: #6dad7f;
$custom-dark: #000000;
JSON
{
  "hex": "#228a4d",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 77
  },
  "hsl": {
    "h": 144.808,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.13162,
    "h": 152.6
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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