#228C30#228C30

#228C30 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.160 H 144.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228C30
RGBrgb(34, 140, 48)
HSLhsl(128, 61%, 34%)
HSVhsv(128, 76%, 55%)
CMYKcmyk(75.7%, 0%, 65.7%, 45.1%)
CIE-LABlab(51.05, -48.54, 39.64)
CIE-LCHlch(51.05, 62.67, 140.77°)
OKLaboklab(56.19% -0.1311 0.0922)
OKLCHoklch(56.19% 0.16 144.9)
XYZxyz(10.5706, 19.3084, 5.9655)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C30 #8C227E
analogous
#498C22 #228C30 #228C65
triadic
#228C30 #30228C #8C3022
tetradic
#228C30 #22498C #8C227E #8C6522
square
#228C30 #22498C #8C227E #8C6522
split-complementary
#228C30 #65228C #8C2249
monochromatic
#0A2A0E #165B1F #228C30 #2EBD41 #53D564

Accessibility & contrast

On white

4.32
#228C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C30
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C30#FFFFFF#000000##000000
##228C301.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F25
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c30;
/* rgb */ color: rgb(34, 140, 48);
/* oklch */ color: oklch(56.2% 0.160 144.9);
Tailwind
colors: {
  custom: {
    50: '#6faf6c',
    500: '#228c30',
    950: '#000000',
  },
}
SCSS
$custom: #228c30;
$custom-light: #6faf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228c30",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 127.925,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.1603,
    "h": 144.9
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#228C30
secondary
#B951AB
accent
#44CFE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228C30

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

Preview Lab → · Contrast checker → · Palette generator →

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