#228D20#228D20

#228D20 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.172 H 142.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228D20
RGBrgb(34, 141, 32)
HSLhsl(119, 63%, 34%)
HSVhsv(119, 77%, 55%)
CMYKcmyk(75.9%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.26, -50.42, 46.42)
CIE-LCHlch(51.26, 68.53, 137.37°)
OKLaboklab(56.33% -0.137 0.1045)
OKLCHoklch(56.33% 0.172 142.7)
XYZxyz(10.4446, 19.4929, 4.5783)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D20 #8B208D
analogous
#598D20 #228D20 #208D55
triadic
#228D20 #20228D #8D2022
tetradic
#228D20 #20598D #8B208D #8D5520
square
#228D20 #20598D #8B208D #8D5520
split-complementary
#228D20 #55208D #8D2059
monochromatic
#0A2909 #165B15 #228D20 #2EBF2B #53D750

Accessibility & contrast

On white

4.29
#228D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#228D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D20#FFFFFF#000000##000000
##228D201.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d20;
/* rgb */ color: rgb(34, 141, 32);
/* oklch */ color: oklch(56.3% 0.172 142.7);
Tailwind
colors: {
  custom: {
    50: '#70af64',
    500: '#228d20',
    950: '#000000',
  },
}
SCSS
$custom: #228d20;
$custom-light: #70af64;
$custom-dark: #000000;
JSON
{
  "hex": "#228d20",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 118.899,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.17226,
    "h": 142.7
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#228D20
secondary
#B84EBA
accent
#42E6E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D20

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

Preview Lab → · Contrast checker → · Palette generator →

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