#288220#288220

#288220 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.157 H 141.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288220
RGBrgb(40, 130, 32)
HSLhsl(115, 60%, 32%)
HSVhsv(115, 75%, 51%)
CMYKcmyk(69.2%, 0%, 75.4%, 49%)
CIE-LABlab(47.65, -45.46, 42.84)
CIE-LCHlch(47.65, 62.47, 136.70°)
OKLaboklab(53.37% -0.1239 0.097)
OKLCHoklch(53.37% 0.157 141.9)
XYZxyz(9.1179, 16.5197, 4.0743)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288220 #7A2082
analogous
#598220 #288220 #208249
triadic
#288220 #202882 #822028
tetradic
#288220 #205982 #7A2082 #824920
square
#288220 #205982 #7A2082 #824920
split-complementary
#288220 #492082 #822059
monochromatic
#0A2008 #195114 #288220 #37B32C #55D24A

Accessibility & contrast

On white

4.88
#288220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#288220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288220
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288220#FFFFFF#000000##FFFFFF
##2882201.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#147E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288220;
/* rgb */ color: rgb(40, 130, 32);
/* oklch */ color: oklch(53.4% 0.157 141.9);
Tailwind
colors: {
  custom: {
    50: '#70a762',
    500: '#288220',
    950: '#000000',
  },
}
SCSS
$custom: #288220;
$custom-light: #70a762;
$custom-dark: #000000;
JSON
{
  "hex": "#288220",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 115.102,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.15732,
    "h": 141.9
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#288220
secondary
#AC49B5
accent
#44E4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #288220

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

Preview Lab → · Contrast checker → · Palette generator →

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