#228E47#228E47

#228E47 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.143 H 150.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228E47
RGBrgb(34, 142, 71)
HSLhsl(141, 61%, 35%)
HSVhsv(141, 76%, 56%)
CMYKcmyk(76.1%, 0%, 50%, 44.3%)
CIE-LABlab(51.99, -46.00, 29.33)
CIE-LCHlch(51.99, 54.56, 147.48°)
OKLaboklab(57.07% -0.1237 0.0714)
OKLCHoklch(57.07% 0.143 150)
XYZxyz(11.4691, 20.1397, 9.2429)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E47 #8E2269
analogous
#338E22 #228E47 #228E7D
triadic
#228E47 #47228E #8E4722
tetradic
#228E47 #22338E #8E2269 #8E7D22
square
#228E47 #22338E #8E2269 #8E7D22
split-complementary
#228E47 #7D228E #8E2233
monochromatic
#0A2B16 #165D2E #228E47 #2EBF60 #54D681

Accessibility & contrast

On white

4.18
#228E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E47
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E47#FFFFFF#000000##000000
##228E471.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8141
Deuteranopia (green-blind)
#82784C
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228e47;
/* rgb */ color: rgb(34, 142, 71);
/* oklch */ color: oklch(57.1% 0.143 150.0);
Tailwind
colors: {
  custom: {
    50: '#6eb07b',
    500: '#228e47',
    950: '#000000',
  },
}
SCSS
$custom: #228e47;
$custom-light: #6eb07b;
$custom-dark: #000000;
JSON
{
  "hex": "#228e47",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 140.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.14282,
    "h": 150
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#228E47
secondary
#BA5296
accent
#43ADE4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228E47

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

Preview Lab → · Contrast checker → · Palette generator →

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