#288D1D#288D1D

#288D1D is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.172 H 141.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#288D1D
RGBrgb(40, 141, 29)
HSLhsl(114, 66%, 33%)
HSVhsv(114, 79%, 55%)
CMYKcmyk(71.6%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.37, -49.55, 47.61)
CIE-LCHlch(51.37, 68.71, 136.15°)
OKLaboklab(56.45% -0.1351 0.1065)
OKLCHoklch(56.45% 0.172 141.8)
XYZxyz(10.6211, 19.5884, 4.3834)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D1D #821D8D
analogous
#608D1D #288D1D #1D8D4A
triadic
#288D1D #1D288D #8D1D28
tetradic
#288D1D #1D608D #821D8D #8D4A1D
square
#288D1D #1D608D #821D8D #8D4A1D
split-complementary
#288D1D #4A1D8D #8D1D60
monochromatic
#0B2708 #1A5A13 #288D1D #36C027 #59DA4B

Accessibility & contrast

On white

4.27
#288D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#288D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D1D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D1D#FFFFFF#000000##000000
##288D1D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#0D8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d1d;
/* rgb */ color: rgb(40, 141, 29);
/* oklch */ color: oklch(56.5% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#72af62',
    500: '#288d1d',
    950: '#000000',
  },
}
SCSS
$custom: #288d1d;
$custom-light: #72af62;
$custom-dark: #000000;
JSON
{
  "hex": "#288d1d",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 114.107,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.172,
    "h": 141.8
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#288D1D
secondary
#B14ABC
accent
#3FE9D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D1D

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

Preview Lab → · Contrast checker → · Palette generator →

#288D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva