#228951#228951

#228951 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.9% C 0.126 H 154.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#228951
RGBrgb(34, 137, 81)
HSLhsl(147, 60%, 34%)
HSVhsv(147, 75%, 54%)
CMYKcmyk(75.2%, 0%, 40.9%, 46.3%)
CIE-LABlab(50.48, -42.23, 21.95)
CIE-LCHlch(50.48, 47.60, 152.54°)
OKLaboklab(55.87% -0.1139 0.0547)
OKLCHoklch(55.87% 0.126 154.4)
XYZxyz(11.0895, 18.8242, 10.8320)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228951 #89225A
analogous
#268922 #228951 #228984
triadic
#228951 #512289 #895122
tetradic
#228951 #222689 #89225A #898422
square
#228951 #222689 #89225A #898422
split-complementary
#228951 #842289 #892226
monochromatic
#0A2717 #165834 #228951 #2EBA6E #51D48D

Accessibility & contrast

On white

4.41
#228951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#228951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228951
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228951#FFFFFF#000000##000000
##2289511.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D4D
Deuteranopia (green-blind)
#7C7555
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228951;
/* rgb */ color: rgb(34, 137, 81);
/* oklch */ color: oklch(55.9% 0.126 154.4);
Tailwind
colors: {
  custom: {
    50: '#6dac82',
    500: '#228951',
    950: '#000000',
  },
}
SCSS
$custom: #228951;
$custom-light: #6dac82;
$custom-dark: #000000;
JSON
{
  "hex": "#228951",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 147.379,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.12634,
    "h": 154.4
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#228951
secondary
#B84F88
accent
#449BE3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228951

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

Preview Lab → · Contrast checker → · Palette generator →

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