#228A4F#228A4F

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

Color values

HEX#228A4F
RGBrgb(34, 138, 79)
HSLhsl(146, 60%, 34%)
HSVhsv(146, 75%, 54%)
CMYKcmyk(75.4%, 0%, 42.8%, 45.9%)
CIE-LABlab(50.78, -43.02, 23.45)
CIE-LCHlch(50.78, 49.00, 151.40°)
OKLaboklab(56.11% -0.1159 0.0582)
OKLCHoklch(56.11% 0.13 153.4)
XYZxyz(11.1584, 19.0803, 10.4904)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A4F #8A225D
analogous
#298A22 #228A4F #228A83
triadic
#228A4F #4F228A #8A4F22
tetradic
#228A4F #22298A #8A225D #8A8322
square
#228A4F #22298A #8A225D #8A8322
split-complementary
#228A4F #83228A #8A2229
monochromatic
#0A2817 #165933 #228A4F #2EBB6B #52D48A

Accessibility & contrast

On white

4.36
#228A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#228A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A4F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A4F#FFFFFF#000000##000000
##228A4F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228a4f;
/* rgb */ color: rgb(34, 138, 79);
/* oklch */ color: oklch(56.1% 0.130 153.4);
Tailwind
colors: {
  custom: {
    50: '#6dad81',
    500: '#228a4f',
    950: '#000000',
  },
}
SCSS
$custom: #228a4f;
$custom-light: #6dad81;
$custom-dark: #000000;
JSON
{
  "hex": "#228a4f",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 145.962,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.12967,
    "h": 153.4
  },
  "luminance": 0.19082
}

Semantic roles & 50–950 ramp

primary
#228A4F
secondary
#B8508B
accent
#449FE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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