#228520#228520

#228520 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.163 H 142.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#228520
RGBrgb(34, 133, 32)
HSLhsl(119, 61%, 32%)
HSVhsv(119, 76%, 52%)
CMYKcmyk(74.4%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.53, -47.70, 43.69)
CIE-LCHlch(48.53, 64.69, 137.51°)
OKLaboklab(54.07% -0.1296 0.0988)
OKLCHoklch(54.07% 0.163 142.7)
XYZxyz(9.3074, 17.2184, 4.1992)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228520 #832085
analogous
#548520 #228520 #208551
triadic
#228520 #202285 #852022
tetradic
#228520 #205485 #832085 #855120
square
#228520 #205485 #832085 #855120
split-complementary
#228520 #512085 #852054
monochromatic
#092208 #155414 #228520 #2FB62C #4ED44C

Accessibility & contrast

On white

4.73
#228520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#228520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228520
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228520#FFFFFF#000000##FFFFFF
##2285201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228520;
/* rgb */ color: rgb(34, 133, 32);
/* oklch */ color: oklch(54.1% 0.163 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ea963',
    500: '#228520',
    950: '#000000',
  },
}
SCSS
$custom: #228520;
$custom-light: #6ea963;
$custom-dark: #000000;
JSON
{
  "hex": "#228520",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 118.812,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.16296,
    "h": 142.7
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#228520
secondary
#B44AB7
accent
#43E4E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #228520

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

Preview Lab → · Contrast checker → · Palette generator →

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