#228754#228754

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

Color values

HEX#228754
RGBrgb(34, 135, 84)
HSLhsl(150, 60%, 33%)
HSVhsv(150, 75%, 53%)
CMYKcmyk(74.8%, 0%, 37.8%, 47.1%)
CIE-LABlab(49.87, -40.81, 19.45)
CIE-LCHlch(49.87, 45.21, 154.52°)
OKLaboklab(55.38% -0.1103 0.0488)
OKLCHoklch(55.38% 0.121 156.2)
XYZxyz(10.9229, 18.3069, 11.3437)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228754 #872255
analogous
#228722 #228754 #228786
triadic
#228754 #542287 #875422
tetradic
#228754 #222287 #872255 #878622
square
#228754 #222287 #872255 #878622
split-complementary
#228754 #862287 #872222
monochromatic
#092517 #165636 #228754 #2EB872 #50D391

Accessibility & contrast

On white

4.50
#228754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228754#FFFFFF#000000##000000
##2287541.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C51
Deuteranopia (green-blind)
#7A7357
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228754;
/* rgb */ color: rgb(34, 135, 84);
/* oklch */ color: oklch(55.4% 0.121 156.2);
Tailwind
colors: {
  custom: {
    50: '#6dab84',
    500: '#228754',
    950: '#000000',
  },
}
SCSS
$custom: #228754;
$custom-light: #6dab84;
$custom-dark: #000000;
JSON
{
  "hex": "#228754",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 149.703,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.12065,
    "h": 156.2
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#228754
secondary
#B74E83
accent
#4595E3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #228754

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

Preview Lab → · Contrast checker → · Palette generator →

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