#228E4F#228E4F

#228E4F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.135 H 152.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#228E4F
RGBrgb(34, 142, 79)
HSLhsl(145, 61%, 35%)
HSVhsv(145, 76%, 56%)
CMYKcmyk(76.1%, 0%, 44.4%, 44.3%)
CIE-LABlab(52.12, -44.58, 25.19)
CIE-LCHlch(52.12, 51.21, 150.53°)
OKLaboklab(57.21% -0.12 0.0622)
OKLCHoklch(57.21% 0.135 152.6)
XYZxyz(11.7429, 20.2492, 10.6852)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E4F #8E2261
analogous
#2B8E22 #228E4F #228E85
triadic
#228E4F #4F228E #8E4F22
tetradic
#228E4F #222B8E #8E2261 #8E8522
square
#228E4F #222B8E #8E2261 #8E8522
split-complementary
#228E4F #85228E #8E222B
monochromatic
#0A2B18 #165D34 #228E4F #2EBF6A #54D68A

Accessibility & contrast

On white

4.16
#228E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E4F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E4F#FFFFFF#000000##000000
##228E4F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824A
Deuteranopia (green-blind)
#817953
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e4f;
/* rgb */ color: rgb(34, 142, 79);
/* oklch */ color: oklch(57.2% 0.135 152.6);
Tailwind
colors: {
  custom: {
    50: '#6eb081',
    500: '#228e4f',
    950: '#000000',
  },
}
SCSS
$custom: #228e4f;
$custom-light: #6eb081;
$custom-dark: #000000;
JSON
{
  "hex": "#228e4f",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 145,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.13517,
    "h": 152.6
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#228E4F
secondary
#BA528F
accent
#43A1E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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