#228E30#228E30

#228E30 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.163 H 144.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228E30
RGBrgb(34, 142, 48)
HSLhsl(128, 61%, 35%)
HSVhsv(128, 76%, 56%)
CMYKcmyk(76.1%, 0%, 66.2%, 44.3%)
CIE-LABlab(51.72, -49.24, 40.39)
CIE-LCHlch(51.72, 63.68, 140.64°)
OKLaboklab(56.75% -0.133 0.0938)
OKLCHoklch(56.75% 0.163 144.8)
XYZxyz(10.8654, 19.8982, 6.0638)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E30 #8E2280
analogous
#4A8E22 #228E30 #228E66
triadic
#228E30 #30228E #8E3022
tetradic
#228E30 #224A8E #8E2280 #8E6622
square
#228E30 #224A8E #8E2280 #8E6622
split-complementary
#228E30 #66228E #8E224A
monochromatic
#0A2B0F #165D1F #228E30 #2EBF41 #54D665

Accessibility & contrast

On white

4.22
#228E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#228E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E30
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E30#FFFFFF#000000##000000
##228E301.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918024
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e30;
/* rgb */ color: rgb(34, 142, 48);
/* oklch */ color: oklch(56.8% 0.163 144.8);
Tailwind
colors: {
  custom: {
    50: '#6fb06c',
    500: '#228e30',
    950: '#000000',
  },
}
SCSS
$custom: #228e30;
$custom-light: #6fb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#228e30",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 127.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.16278,
    "h": 144.8
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#228E30
secondary
#BA52AC
accent
#43D0E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #228E30

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

Preview Lab → · Contrast checker → · Palette generator →

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