#288620#288620

#288620 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.162 H 142.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#288620
RGBrgb(40, 134, 32)
HSLhsl(115, 61%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(70.1%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.01, -46.89, 44.22)
CIE-LCHlch(49.01, 64.45, 136.68°)
OKLaboklab(54.5% -0.1277 0.0999)
OKLCHoklch(54.5% 0.162 142)
XYZxyz(9.6603, 17.6046, 4.2551)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288620 #7E2086
analogous
#5B8620 #288620 #20864B
triadic
#288620 #202886 #862028
tetradic
#288620 #205B86 #7E2086 #864B20
square
#288620 #205B86 #7E2086 #864B20
split-complementary
#288620 #4B2086 #86205B
monochromatic
#0B2308 #195514 #288620 #37B72C #57D44C

Accessibility & contrast

On white

4.64
#288620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#288620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288620
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288620#FFFFFF#000000##FFFFFF
##2886201.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288620;
/* rgb */ color: rgb(40, 134, 32);
/* oklch */ color: oklch(54.5% 0.162 142.0);
Tailwind
colors: {
  custom: {
    50: '#71aa63',
    500: '#288620',
    950: '#000000',
  },
}
SCSS
$custom: #288620;
$custom-light: #71aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#288620",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 115.294,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.16213,
    "h": 142
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#288620
secondary
#AF4BB7
accent
#43E5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288620

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

Preview Lab → · Contrast checker → · Palette generator →

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