#228A20#228A20

#228A20 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.169 H 142.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228A20
RGBrgb(34, 138, 32)
HSLhsl(119, 62%, 33%)
HSVhsv(119, 77%, 54%)
CMYKcmyk(75.4%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.24, -49.41, 45.40)
CIE-LCHlch(50.24, 67.10, 137.42°)
OKLaboklab(55.48% -0.1342 0.1024)
OKLCHoklch(55.48% 0.169 142.7)
XYZxyz(10.0083, 18.6202, 4.4328)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A20 #88208A
analogous
#578A20 #228A20 #208A53
triadic
#228A20 #20228A #8A2022
tetradic
#228A20 #20578A #88208A #8A5320
square
#228A20 #20578A #88208A #8A5320
split-complementary
#228A20 #53208A #8A2057
monochromatic
#0A2709 #165814 #228A20 #2EBC2C #51D64E

Accessibility & contrast

On white

4.45
#228A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#228A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A20
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A20#FFFFFF#000000##000000
##228A201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a20;
/* rgb */ color: rgb(34, 138, 32);
/* oklch */ color: oklch(55.5% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fad63',
    500: '#228a20',
    950: '#000000',
  },
}
SCSS
$custom: #228a20;
$custom-light: #6fad63;
$custom-dark: #000000;
JSON
{
  "hex": "#228a20",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 118.868,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.1688,
    "h": 142.7
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#228A20
secondary
#B74DB9
accent
#42E5E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228A20

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

Preview Lab → · Contrast checker → · Palette generator →

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