#288720#288720

#288720 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.163 H 142.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#288720
RGBrgb(40, 135, 32)
HSLhsl(115, 62%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(70.4%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.35, -47.24, 44.56)
CIE-LCHlch(49.35, 64.94, 136.67°)
OKLaboklab(54.79% -0.1287 0.1006)
OKLCHoklch(54.79% 0.163 142)
XYZxyz(9.7992, 17.8823, 4.3014)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288720 #7F2087
analogous
#5B8720 #288720 #20874C
triadic
#288720 #202887 #872028
tetradic
#288720 #205B87 #7F2087 #874C20
square
#288720 #205B87 #7F2087 #874C20
split-complementary
#288720 #4C2087 #87205B
monochromatic
#0B2409 #195614 #288720 #37B82C #57D54D

Accessibility & contrast

On white

4.59
#288720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#288720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288720
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288720#FFFFFF#000000##FFFFFF
##2887201.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#118373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288720;
/* rgb */ color: rgb(40, 135, 32);
/* oklch */ color: oklch(54.8% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ab63',
    500: '#288720',
    950: '#000000',
  },
}
SCSS
$custom: #288720;
$custom-light: #71ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#288720",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 115.34,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.16332,
    "h": 142
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288720

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

Preview Lab → · Contrast checker → · Palette generator →

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