#228C38#228C38

#228C38 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.154 H 146.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228C38
RGBrgb(34, 140, 56)
HSLhsl(132, 61%, 34%)
HSVhsv(132, 76%, 55%)
CMYKcmyk(75.7%, 0%, 60%, 45.1%)
CIE-LABlab(51.13, -47.54, 35.95)
CIE-LCHlch(51.13, 59.60, 142.91°)
OKLaboklab(56.29% -0.1281 0.0851)
OKLCHoklch(56.29% 0.154 146.4)
XYZxyz(10.7508, 19.3805, 6.9148)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C38 #8C2276
analogous
#418C22 #228C38 #228C6D
triadic
#228C38 #38228C #8C3822
tetradic
#228C38 #22418C #8C2276 #8C6D22
square
#228C38 #22418C #8C2276 #8C6D22
split-complementary
#228C38 #6D228C #8C2241
monochromatic
#0A2A11 #165B24 #228C38 #2EBD4C #53D56E

Accessibility & contrast

On white

4.31
#228C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#228C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C38
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C38#FFFFFF#000000##000000
##228C381.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2F
Deuteranopia (green-blind)
#82763F
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c38;
/* rgb */ color: rgb(34, 140, 56);
/* oklch */ color: oklch(56.3% 0.154 146.4);
Tailwind
colors: {
  custom: {
    50: '#6faf71',
    500: '#228c38',
    950: '#000000',
  },
}
SCSS
$custom: #228c38;
$custom-light: #6faf71;
$custom-dark: #000000;
JSON
{
  "hex": "#228c38",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 132.453,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.15378,
    "h": 146.4
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#228C38
secondary
#B951A3
accent
#44C3E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228C38

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

Preview Lab → · Contrast checker → · Palette generator →

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