#228C45#228C45

#228C45 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.142 H 149.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228C45
RGBrgb(34, 140, 69)
HSLhsl(140, 61%, 34%)
HSVhsv(140, 76%, 55%)
CMYKcmyk(75.7%, 0%, 50.7%, 45.1%)
CIE-LABlab(51.30, -45.59, 29.52)
CIE-LCHlch(51.30, 54.31, 147.08°)
OKLaboklab(56.48% -0.1226 0.0717)
OKLCHoklch(56.48% 0.142 149.7)
XYZxyz(11.1110, 19.5246, 8.8121)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C45 #8C2269
analogous
#348C22 #228C45 #228C7A
triadic
#228C45 #45228C #8C4522
tetradic
#228C45 #22348C #8C2269 #8C7A22
square
#228C45 #22348C #8C2269 #8C7A22
split-complementary
#228C45 #7A228C #8C2234
monochromatic
#0A2A14 #165B2D #228C45 #2EBD5D #53D57E

Accessibility & contrast

On white

4.28
#228C45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228C45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C45
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C45#FFFFFF#000000##000000
##228C451.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c45;
/* rgb */ color: rgb(34, 140, 69);
/* oklch */ color: oklch(56.5% 0.142 149.7);
Tailwind
colors: {
  custom: {
    50: '#6eaf7a',
    500: '#228c45',
    950: '#000000',
  },
}
SCSS
$custom: #228c45;
$custom-light: #6eaf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228c45",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 69
  },
  "hsl": {
    "h": 139.811,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.14203,
    "h": 149.7
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#228C45
secondary
#B95197
accent
#44AFE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228C45

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

Preview Lab → · Contrast checker → · Palette generator →

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