#288721#288721

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

Color values

HEX#288721
RGBrgb(40, 135, 33)
HSLhsl(116, 61%, 33%)
HSVhsv(116, 76%, 53%)
CMYKcmyk(70.4%, 0%, 75.6%, 47.1%)
CIE-LABlab(49.36, -47.16, 44.19)
CIE-LCHlch(49.36, 64.63, 136.86°)
OKLaboklab(54.79% -0.1284 0.0999)
OKLCHoklch(54.79% 0.163 142.1)
XYZxyz(9.8130, 17.8878, 4.3741)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288721 #802187
analogous
#5B8721 #288721 #21874D
triadic
#288721 #212887 #872128
tetradic
#288721 #215B87 #802187 #874D21
square
#288721 #215B87 #802187 #874D21
split-complementary
#288721 #4D2187 #87215B
monochromatic
#0B2509 #195615 #288721 #37B82D #58D44F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288721#FFFFFF#000000##FFFFFF
##2887211.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)
#8A7A0E
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#108373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288721;
/* rgb */ color: rgb(40, 135, 33);
/* oklch */ color: oklch(54.8% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#71ab63',
    500: '#288721',
    950: '#000000',
  },
}
SCSS
$custom: #288721;
$custom-light: #71ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#288721",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 115.882,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.16272,
    "h": 142.1
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#288721
secondary
#B04DB7
accent
#44E4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288721

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

Preview Lab → · Contrast checker → · Palette generator →

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