#228A33#228A33

#228A33 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.155 H 145.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#228A33
RGBrgb(34, 138, 51)
HSLhsl(130, 60%, 34%)
HSVhsv(130, 75%, 54%)
CMYKcmyk(75.4%, 0%, 63%, 45.9%)
CIE-LABlab(50.40, -47.48, 37.51)
CIE-LCHlch(50.40, 60.51, 141.69°)
OKLaboklab(55.67% -0.1281 0.088)
OKLCHoklch(55.67% 0.155 145.5)
XYZxyz(10.3450, 18.7549, 6.2062)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A33 #8A2279
analogous
#458A22 #228A33 #228A67
triadic
#228A33 #33228A #8A3322
tetradic
#228A33 #22458A #8A2279 #8A6722
square
#228A33 #22458A #8A2279 #8A6722
split-complementary
#228A33 #67228A #8A2245
monochromatic
#0A280F #165921 #228A33 #2EBB45 #52D467

Accessibility & contrast

On white

4.42
#228A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#228A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A33
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A33#FFFFFF#000000##000000
##228A331.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D29
Deuteranopia (green-blind)
#80753A
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a33;
/* rgb */ color: rgb(34, 138, 51);
/* oklch */ color: oklch(55.7% 0.155 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ead6e',
    500: '#228a33',
    950: '#000000',
  },
}
SCSS
$custom: #228a33;
$custom-light: #6ead6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228a33",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 129.808,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.15541,
    "h": 145.5
  },
  "luminance": 0.18756
}

Semantic roles & 50–950 ramp

primary
#228A33
secondary
#B850A7
accent
#44CAE4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228A33

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

Preview Lab → · Contrast checker → · Palette generator →

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