#288D1B#288D1B

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

Color values

HEX#288D1B
RGBrgb(40, 141, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 55%)
CMYKcmyk(71.6%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.36, -49.68, 48.25)
CIE-LCHlch(51.36, 69.26, 135.84°)
OKLaboklab(56.44% -0.1355 0.1075)
OKLCHoklch(56.44% 0.173 141.6)
XYZxyz(10.5972, 19.5789, 4.2573)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D1B #801B8D
analogous
#618D1B #288D1B #1B8D47
triadic
#288D1B #1B288D #8D1B28
tetradic
#288D1B #1B618D #801B8D #8D471B
square
#288D1B #1B618D #801B8D #8D471B
split-complementary
#288D1B #471B8D #8D1B61
monochromatic
#0B2607 #195A11 #288D1B #37C025 #58DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288D1B#FFFFFF#000000##000000
##288D1B1.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)
#857729
Tritanopia (blue-blind)
#0E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d1b;
/* rgb */ color: rgb(40, 141, 27);
/* oklch */ color: oklch(56.4% 0.173 141.6);
Tailwind
colors: {
  custom: {
    50: '#72af61',
    500: '#288d1b',
    950: '#000000',
  },
}
SCSS
$custom: #288d1b;
$custom-light: #72af61;
$custom-dark: #000000;
JSON
{
  "hex": "#288d1b",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 113.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.17302,
    "h": 141.6
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#288D1B
secondary
#B046BD
accent
#3DEBD7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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