#228D36#228D36

#228D36 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.157 H 145.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#228D36
RGBrgb(34, 141, 54)
HSLhsl(131, 61%, 34%)
HSVhsv(131, 76%, 55%)
CMYKcmyk(75.9%, 0%, 61.7%, 44.7%)
CIE-LABlab(51.44, -48.16, 37.28)
CIE-LCHlch(51.44, 60.91, 142.26°)
OKLaboklab(56.54% -0.1298 0.0878)
OKLCHoklch(56.54% 0.157 145.9)
XYZxyz(10.8496, 19.6549, 6.7113)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D36 #8D2279
analogous
#448D22 #228D36 #228D6C
triadic
#228D36 #36228D #8D3622
tetradic
#228D36 #22448D #8D2279 #8D6C22
square
#228D36 #22448D #8D2279 #8D6C22
split-complementary
#228D36 #6C228D #8D2244
monochromatic
#0A2A10 #165C23 #228D36 #2EBE49 #54D66C

Accessibility & contrast

On white

4.26
#228D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#228D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D36
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D36#FFFFFF#000000##000000
##228D361.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802D
Deuteranopia (green-blind)
#83773D
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d36;
/* rgb */ color: rgb(34, 141, 54);
/* oklch */ color: oklch(56.5% 0.157 145.9);
Tailwind
colors: {
  custom: {
    50: '#6faf70',
    500: '#228d36',
    950: '#000000',
  },
}
SCSS
$custom: #228d36;
$custom-light: #6faf70;
$custom-dark: #000000;
JSON
{
  "hex": "#228d36",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 131.215,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.15674,
    "h": 145.9
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#228D36
secondary
#B951A6
accent
#44C6E4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228D36

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

Preview Lab → · Contrast checker → · Palette generator →

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