#228947#228947

#228947 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.136 H 150.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#228947
RGBrgb(34, 137, 71)
HSLhsl(142, 60%, 34%)
HSVhsv(142, 75%, 54%)
CMYKcmyk(75.2%, 0%, 48.2%, 46.3%)
CIE-LABlab(50.32, -44.11, 27.22)
CIE-LCHlch(50.32, 51.83, 148.32°)
OKLaboklab(55.68% -0.1186 0.0666)
OKLCHoklch(55.68% 0.136 150.7)
XYZxyz(10.7418, 18.6851, 9.0005)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228947 #892264
analogous
#318922 #228947 #22897A
triadic
#228947 #472289 #894722
tetradic
#228947 #223189 #892264 #897A22
square
#228947 #223189 #892264 #897A22
split-complementary
#228947 #7A2289 #892231
monochromatic
#0A2714 #16582E #228947 #2EBA60 #51D480

Accessibility & contrast

On white

4.43
#228947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#228947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228947
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228947#FFFFFF#000000##000000
##2289471.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D42
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228947;
/* rgb */ color: rgb(34, 137, 71);
/* oklch */ color: oklch(55.7% 0.136 150.7);
Tailwind
colors: {
  custom: {
    50: '#6dac7b',
    500: '#228947',
    950: '#000000',
  },
}
SCSS
$custom: #228947;
$custom-light: #6dac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228947",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 71
  },
  "hsl": {
    "h": 141.553,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.13606,
    "h": 150.7
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#228947
secondary
#B84F92
accent
#44AAE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228947

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

Preview Lab → · Contrast checker → · Palette generator →

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