#228852#228852

#228852 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.124 H 155.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#228852
RGBrgb(34, 136, 82)
HSLhsl(148, 60%, 33%)
HSVhsv(148, 75%, 53%)
CMYKcmyk(75%, 0%, 39.7%, 46.7%)
CIE-LABlab(50.16, -41.63, 20.97)
CIE-LCHlch(50.16, 46.62, 153.26°)
OKLaboklab(55.62% -0.1124 0.0524)
OKLCHoklch(55.62% 0.124 155)
XYZxyz(10.9858, 18.5563, 10.9838)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228852 #882258
analogous
#258822 #228852 #228885
triadic
#228852 #522288 #885222
tetradic
#228852 #222588 #882258 #888522
square
#228852 #222588 #882258 #888522
split-complementary
#228852 #852288 #882225
monochromatic
#0A2617 #165734 #228852 #2EB970 #51D38E

Accessibility & contrast

On white

4.46
#228852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#228852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228852
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228852#FFFFFF#000000##000000
##2288521.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228852;
/* rgb */ color: rgb(34, 136, 82);
/* oklch */ color: oklch(55.6% 0.124 155.0);
Tailwind
colors: {
  custom: {
    50: '#6dac83',
    500: '#228852',
    950: '#000000',
  },
}
SCSS
$custom: #228852;
$custom-light: #6dac83;
$custom-dark: #000000;
JSON
{
  "hex": "#228852",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 82
  },
  "hsl": {
    "h": 148.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.12398,
    "h": 155
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#228852
secondary
#B74F86
accent
#4599E3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228852

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

Preview Lab → · Contrast checker → · Palette generator →

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