#228620#228620

#228620 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.164 H 142.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#228620
RGBrgb(34, 134, 32)
HSLhsl(119, 61%, 33%)
HSVhsv(119, 76%, 53%)
CMYKcmyk(74.6%, 0%, 76.1%, 47.5%)
CIE-LABlab(48.88, -48.05, 44.04)
CIE-LCHlch(48.88, 65.18, 137.49°)
OKLaboklab(54.35% -0.1305 0.0995)
OKLCHoklch(54.35% 0.164 142.7)
XYZxyz(9.4449, 17.4935, 4.2450)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228620 #842086
analogous
#558620 #228620 #208651
triadic
#228620 #202286 #862022
tetradic
#228620 #205586 #842086 #865120
square
#228620 #205586 #842086 #865120
split-complementary
#228620 #512086 #862055
monochromatic
#092308 #155514 #228620 #2FB72C #4FD44C

Accessibility & contrast

On white

4.67
#228620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#228620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228620
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228620#FFFFFF#000000##FFFFFF
##2286201.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228620;
/* rgb */ color: rgb(34, 134, 32);
/* oklch */ color: oklch(54.4% 0.164 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eaa63',
    500: '#228620',
    950: '#000000',
  },
}
SCSS
$custom: #228620;
$custom-light: #6eaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#228620",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 118.824,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.16414,
    "h": 142.7
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#228620
secondary
#B54BB7
accent
#43E5E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228620

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

Preview Lab → · Contrast checker → · Palette generator →

#228620 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva