#228D30#228D30

#228D30 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.162 H 144.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228D30
RGBrgb(34, 141, 48)
HSLhsl(128, 61%, 34%)
HSVhsv(128, 76%, 55%)
CMYKcmyk(75.9%, 0%, 66%, 44.7%)
CIE-LABlab(51.38, -48.89, 40.01)
CIE-LCHlch(51.38, 63.18, 140.70°)
OKLaboklab(56.47% -0.1321 0.093)
OKLCHoklch(56.47% 0.162 144.8)
XYZxyz(10.7173, 19.6020, 6.0145)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D30 #8D227F
analogous
#4A8D22 #228D30 #228D66
triadic
#228D30 #30228D #8D3022
tetradic
#228D30 #224A8D #8D227F #8D6622
square
#228D30 #224A8D #8D227F #8D6622
split-complementary
#228D30 #66228D #8D224A
monochromatic
#0A2A0E #165C1F #228D30 #2EBE41 #54D665

Accessibility & contrast

On white

4.27
#228D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#228D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D30
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D30#FFFFFF#000000##000000
##228D301.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8025
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d30;
/* rgb */ color: rgb(34, 141, 48);
/* oklch */ color: oklch(56.5% 0.162 144.8);
Tailwind
colors: {
  custom: {
    50: '#6faf6c',
    500: '#228d30',
    950: '#000000',
  },
}
SCSS
$custom: #228d30;
$custom-light: #6faf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228d30",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 127.85,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.16154,
    "h": 144.8
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228D30

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

Preview Lab → · Contrast checker → · Palette generator →

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