#228D4F#228D4F

#228D4F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.134 H 152.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228D4F
RGBrgb(34, 141, 79)
HSLhsl(145, 61%, 34%)
HSVhsv(145, 76%, 55%)
CMYKcmyk(75.9%, 0%, 44%, 44.7%)
CIE-LABlab(51.78, -44.20, 24.76)
CIE-LCHlch(51.78, 50.66, 150.74°)
OKLaboklab(56.93% -0.119 0.0612)
OKLCHoklch(56.93% 0.134 152.8)
XYZxyz(11.5948, 19.9530, 10.6359)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D4F #8D2260
analogous
#2A8D22 #228D4F #228D85
triadic
#228D4F #4F228D #8D4F22
tetradic
#228D4F #222A8D #8D2260 #8D8522
square
#228D4F #222A8D #8D2260 #8D8522
split-complementary
#228D4F #85228D #8D222A
monochromatic
#0A2A18 #165C33 #228D4F #2EBE6B #54D68A

Accessibility & contrast

On white

4.21
#228D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#228D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D4F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D4F#FFFFFF#000000##000000
##228D4F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814A
Deuteranopia (green-blind)
#807853
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d4f;
/* rgb */ color: rgb(34, 141, 79);
/* oklch */ color: oklch(56.9% 0.134 152.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf81',
    500: '#228d4f',
    950: '#000000',
  },
}
SCSS
$custom: #228d4f;
$custom-light: #6eaf81;
$custom-dark: #000000;
JSON
{
  "hex": "#228d4f",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 145.234,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.1338,
    "h": 152.8
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#228D4F
secondary
#B9518E
accent
#44A1E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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