#228C50#228C50

#228C50 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.131 H 153.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#228C50
RGBrgb(34, 140, 80)
HSLhsl(146, 61%, 34%)
HSVhsv(146, 76%, 55%)
CMYKcmyk(75.7%, 0%, 42.9%, 45.1%)
CIE-LABlab(51.47, -43.62, 23.80)
CIE-LCHlch(51.47, 49.69, 151.38°)
OKLaboklab(56.68% -0.1175 0.059)
OKLCHoklch(56.68% 0.131 153.3)
XYZxyz(11.4847, 19.6741, 10.7801)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C50 #8C225E
analogous
#298C22 #228C50 #228C85
triadic
#228C50 #50228C #8C5022
tetradic
#228C50 #22298C #8C225E #8C8522
square
#228C50 #22298C #8C225E #8C8522
split-complementary
#228C50 #85228C #8C2229
monochromatic
#0A2A18 #165B34 #228C50 #2EBD6C #53D58C

Accessibility & contrast

On white

4.26
#228C50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#228C50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C50
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C50#FFFFFF#000000##000000
##228C501.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804C
Deuteranopia (green-blind)
#7F7754
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c50;
/* rgb */ color: rgb(34, 140, 80);
/* oklch */ color: oklch(56.7% 0.131 153.3);
Tailwind
colors: {
  custom: {
    50: '#6eae82',
    500: '#228c50',
    950: '#000000',
  },
}
SCSS
$custom: #228c50;
$custom-light: #6eae82;
$custom-dark: #000000;
JSON
{
  "hex": "#228c50",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 80
  },
  "hsl": {
    "h": 146.038,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.13146,
    "h": 153.3
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#228C50
secondary
#B9518C
accent
#449EE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C50

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

Preview Lab → · Contrast checker → · Palette generator →

#228C50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva