#228952#228952

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

Color values

HEX#228952
RGBrgb(34, 137, 82)
HSLhsl(148, 60%, 34%)
HSVhsv(148, 75%, 54%)
CMYKcmyk(75.2%, 0%, 40.1%, 46.3%)
CIE-LABlab(50.50, -42.03, 21.42)
CIE-LCHlch(50.50, 47.18, 153.00°)
OKLaboklab(55.89% -0.1134 0.0534)
OKLCHoklch(55.89% 0.125 154.8)
XYZxyz(11.1273, 18.8393, 11.0309)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228952 #892259
analogous
#258922 #228952 #228985
triadic
#228952 #522289 #895222
tetradic
#228952 #222589 #892259 #898522
square
#228952 #222589 #892259 #898522
split-complementary
#228952 #852289 #892225
monochromatic
#0A2717 #165835 #228952 #2EBA6F #51D48E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228952#FFFFFF#000000##000000
##2289521.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)
#897E4E
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228952;
/* rgb */ color: rgb(34, 137, 82);
/* oklch */ color: oklch(55.9% 0.125 154.8);
Tailwind
colors: {
  custom: {
    50: '#6dac83',
    500: '#228952',
    950: '#000000',
  },
}
SCSS
$custom: #228952;
$custom-light: #6dac83;
$custom-dark: #000000;
JSON
{
  "hex": "#228952",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 147.961,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.12537,
    "h": 154.8
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#228952
secondary
#B84F87
accent
#4499E3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228952

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

Preview Lab → · Contrast checker → · Palette generator →

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