#228954#228954

#228954 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.123 H 155.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228954
RGBrgb(34, 137, 84)
HSLhsl(149, 60%, 34%)
HSVhsv(149, 75%, 54%)
CMYKcmyk(75.2%, 0%, 38.7%, 46.3%)
CIE-LABlab(50.53, -41.63, 20.35)
CIE-LCHlch(50.53, 46.33, 153.95°)
OKLaboklab(55.93% -0.1124 0.0509)
OKLCHoklch(55.93% 0.123 155.6)
XYZxyz(11.2045, 18.8702, 11.4376)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228954 #892257
analogous
#238922 #228954 #228987
triadic
#228954 #542289 #895422
tetradic
#228954 #222389 #892257 #898722
square
#228954 #222389 #892257 #898722
split-complementary
#228954 #872289 #892223
monochromatic
#0A2718 #165836 #228954 #2EBA72 #51D491

Accessibility & contrast

On white

4.40
#228954 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#228954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228954
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228954#FFFFFF#000000##000000
##2289541.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887E50
Deuteranopia (green-blind)
#7C7558
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228954;
/* rgb */ color: rgb(34, 137, 84);
/* oklch */ color: oklch(55.9% 0.123 155.6);
Tailwind
colors: {
  custom: {
    50: '#6dac84',
    500: '#228954',
    950: '#000000',
  },
}
SCSS
$custom: #228954;
$custom-light: #6dac84;
$custom-dark: #000000;
JSON
{
  "hex": "#228954",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 84
  },
  "hsl": {
    "h": 149.126,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.12343,
    "h": 155.6
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#228954
secondary
#B84F85
accent
#4496E3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228954

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

Preview Lab → · Contrast checker → · Palette generator →

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