#228752#228752

#228752 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.123 H 155.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228752
RGBrgb(34, 135, 82)
HSLhsl(149, 60%, 33%)
HSVhsv(149, 75%, 53%)
CMYKcmyk(74.8%, 0%, 39.3%, 47.1%)
CIE-LABlab(49.83, -41.23, 20.53)
CIE-LCHlch(49.83, 46.06, 153.53°)
OKLaboklab(55.34% -0.1113 0.0513)
OKLCHoklch(55.34% 0.123 155.3)
XYZxyz(10.8456, 18.2760, 10.9370)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228752 #872257
analogous
#248722 #228752 #228784
triadic
#228752 #522287 #875222
tetradic
#228752 #222487 #872257 #878422
square
#228752 #222487 #872257 #878422
split-complementary
#228752 #842287 #872224
monochromatic
#092517 #165634 #228752 #2EB870 #50D38E

Accessibility & contrast

On white

4.51
#228752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#228752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228752
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228752#FFFFFF#000000##000000
##2287521.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C4E
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228752;
/* rgb */ color: rgb(34, 135, 82);
/* oklch */ color: oklch(55.3% 0.123 155.3);
Tailwind
colors: {
  custom: {
    50: '#6dab83',
    500: '#228752',
    950: '#000000',
  },
}
SCSS
$custom: #228752;
$custom-light: #6dab83;
$custom-dark: #000000;
JSON
{
  "hex": "#228752",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 148.515,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55338,
    "c": 0.12259,
    "h": 155.3
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#228752
secondary
#B74E85
accent
#4598E3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228752

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

Preview Lab → · Contrast checker → · Palette generator →

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