#228A4A#228A4A

#228A4A is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.135 H 151.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#228A4A
RGBrgb(34, 138, 74)
HSLhsl(143, 60%, 34%)
HSVhsv(143, 75%, 54%)
CMYKcmyk(75.4%, 0%, 46.4%, 45.9%)
CIE-LABlab(50.70, -43.96, 26.08)
CIE-LCHlch(50.70, 51.11, 149.32°)
OKLaboklab(56.01% -0.1183 0.0641)
OKLCHoklch(56.01% 0.135 151.5)
XYZxyz(10.9833, 19.0102, 9.5677)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A4A #8A2262
analogous
#2E8A22 #228A4A #228A7E
triadic
#228A4A #4A228A #8A4A22
tetradic
#228A4A #222E8A #8A2262 #8A7E22
square
#228A4A #222E8A #8A2262 #8A7E22
split-complementary
#228A4A #7E228A #8A222E
monochromatic
#0A2815 #165930 #228A4A #2EBB64 #52D484

Accessibility & contrast

On white

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

On black

4.80
#228A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A4A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A4A#FFFFFF#000000##000000
##228A4A1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228a4a;
/* rgb */ color: rgb(34, 138, 74);
/* oklch */ color: oklch(56.0% 0.135 151.5);
Tailwind
colors: {
  custom: {
    50: '#6dad7d',
    500: '#228a4a',
    950: '#000000',
  },
}
SCSS
$custom: #228a4a;
$custom-light: #6dad7d;
$custom-dark: #000000;
JSON
{
  "hex": "#228a4a",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 143.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.13452,
    "h": 151.5
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#228A4A
secondary
#B85090
accent
#44A6E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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