#228347#228347

#228347 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.128 H 151.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228347
RGBrgb(34, 131, 71)
HSLhsl(143, 59%, 32%)
HSVhsv(143, 74%, 51%)
CMYKcmyk(74%, 0%, 45.8%, 48.6%)
CIE-LABlab(48.29, -41.77, 24.63)
CIE-LCHlch(48.29, 48.49, 149.48°)
OKLaboklab(54.01% -0.1125 0.0606)
OKLCHoklch(54.01% 0.128 151.7)
XYZxyz(9.9125, 17.0265, 8.7240)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228347 #83225E
analogous
#2D8322 #228347 #228378
triadic
#228347 #472283 #834722
tetradic
#228347 #222D83 #83225E #837822
square
#228347 #222D83 #83225E #837822
split-complementary
#228347 #782283 #83222D
monochromatic
#092212 #15522D #228347 #2FB461 #4ED180

Accessibility & contrast

On white

4.77
#228347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#228347 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228347
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228347#FFFFFF#000000##FFFFFF
##2283471.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837843
Deuteranopia (green-blind)
#786F4B
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228347;
/* rgb */ color: rgb(34, 131, 71);
/* oklch */ color: oklch(54.0% 0.128 151.7);
Tailwind
colors: {
  custom: {
    50: '#6ca87b',
    500: '#228347',
    950: '#000000',
  },
}
SCSS
$custom: #228347;
$custom-light: #6ca87b;
$custom-dark: #000000;
JSON
{
  "hex": "#228347",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 142.887,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.12778,
    "h": 151.7
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#228347
secondary
#B44C8D
accent
#46A6E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228347

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

Preview Lab → · Contrast checker → · Palette generator →

#228347 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva