#228C33#228C33

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

Color values

HEX#228C33
RGBrgb(34, 140, 51)
HSLhsl(130, 61%, 34%)
HSVhsv(130, 76%, 55%)
CMYKcmyk(75.7%, 0%, 63.6%, 45.1%)
CIE-LABlab(51.08, -48.19, 38.28)
CIE-LCHlch(51.08, 61.54, 141.53°)
OKLaboklab(56.23% -0.13 0.0896)
OKLCHoklch(56.23% 0.158 145.4)
XYZxyz(10.6346, 19.3340, 6.3027)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C33 #8C227B
analogous
#468C22 #228C33 #228C68
triadic
#228C33 #33228C #8C3322
tetradic
#228C33 #22468C #8C227B #8C6822
square
#228C33 #22468C #8C227B #8C6822
split-complementary
#228C33 #68228C #8C2246
monochromatic
#0A2A0F #165B21 #228C33 #2EBD45 #53D568

Accessibility & contrast

On white

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

On black

4.87
#228C33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C33
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C33#FFFFFF#000000##000000
##228C331.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F29
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c33;
/* rgb */ color: rgb(34, 140, 51);
/* oklch */ color: oklch(56.2% 0.158 145.4);
Tailwind
colors: {
  custom: {
    50: '#6faf6e',
    500: '#228c33',
    950: '#000000',
  },
}
SCSS
$custom: #228c33;
$custom-light: #6faf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228c33",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 51
  },
  "hsl": {
    "h": 129.623,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.15793,
    "h": 145.4
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#228C33
secondary
#B951A8
accent
#44CAE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228C33

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

Preview Lab → · Contrast checker → · Palette generator →

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