#228647#228647

#228647 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.132 H 151.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#228647
RGBrgb(34, 134, 71)
HSLhsl(142, 60%, 33%)
HSVhsv(142, 75%, 53%)
CMYKcmyk(74.6%, 0%, 47%, 47.5%)
CIE-LABlab(49.31, -42.95, 25.93)
CIE-LCHlch(49.31, 50.17, 148.88°)
OKLaboklab(54.85% -0.1156 0.0636)
OKLCHoklch(54.85% 0.132 151.2)
XYZxyz(10.3212, 17.8440, 8.8603)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228647 #862261
analogous
#2F8622 #228647 #228679
triadic
#228647 #472286 #864722
tetradic
#228647 #222F86 #862261 #867922
square
#228647 #222F86 #862261 #867922
split-complementary
#228647 #792286 #86222F
monochromatic
#092413 #16552D #228647 #2EB761 #50D380

Accessibility & contrast

On white

4.60
#228647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#228647 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228647
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228647#FFFFFF#000000##FFFFFF
##2286471.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A42
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228647;
/* rgb */ color: rgb(34, 134, 71);
/* oklch */ color: oklch(54.8% 0.132 151.2);
Tailwind
colors: {
  custom: {
    50: '#6daa7b',
    500: '#228647',
    950: '#000000',
  },
}
SCSS
$custom: #228647;
$custom-light: #6daa7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228647",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 71
  },
  "hsl": {
    "h": 142.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.13194,
    "h": 151.2
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#228647
secondary
#B64E8F
accent
#45A8E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228647

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

Preview Lab → · Contrast checker → · Palette generator →

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