#228A36#228A36

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

Color values

HEX#228A36
RGBrgb(34, 138, 54)
HSLhsl(132, 60%, 34%)
HSVhsv(132, 75%, 54%)
CMYKcmyk(75.4%, 0%, 60.9%, 45.9%)
CIE-LABlab(50.43, -47.09, 36.11)
CIE-LCHlch(50.43, 59.34, 142.52°)
OKLaboklab(55.7% -0.1269 0.0853)
OKLCHoklch(55.7% 0.153 146.1)
XYZxyz(10.4133, 18.7822, 6.5658)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A36 #8A2276
analogous
#428A22 #228A36 #228A6A
triadic
#228A36 #36228A #8A3622
tetradic
#228A36 #22428A #8A2276 #8A6A22
square
#228A36 #22428A #8A2276 #8A6A22
split-complementary
#228A36 #6A228A #8A2242
monochromatic
#0A2810 #165923 #228A36 #2EBB49 #52D46B

Accessibility & contrast

On white

4.41
#228A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#228A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A36
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A36#FFFFFF#000000##000000
##228A361.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2D
Deuteranopia (green-blind)
#80753D
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a36;
/* rgb */ color: rgb(34, 138, 54);
/* oklch */ color: oklch(55.7% 0.153 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ead70',
    500: '#228a36',
    950: '#000000',
  },
}
SCSS
$custom: #228a36;
$custom-light: #6ead70;
$custom-dark: #000000;
JSON
{
  "hex": "#228a36",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 131.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.15292,
    "h": 146.1
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#228A36
secondary
#B850A4
accent
#44C5E4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A36

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

Preview Lab → · Contrast checker → · Palette generator →

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