#288D1C#288D1C

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

Color values

HEX#288D1C
RGBrgb(40, 141, 28)
HSLhsl(114, 67%, 33%)
HSVhsv(114, 80%, 55%)
CMYKcmyk(71.6%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.36, -49.62, 47.93)
CIE-LCHlch(51.36, 68.99, 135.99°)
OKLaboklab(56.45% -0.1353 0.107)
OKLCHoklch(56.45% 0.173 141.7)
XYZxyz(10.6090, 19.5836, 4.3193)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D1C #811C8D
analogous
#608D1C #288D1C #1C8D48
triadic
#288D1C #1C288D #8D1C28
tetradic
#288D1C #1C608D #811C8D #8D481C
square
#288D1C #1C608D #811C8D #8D481C
split-complementary
#288D1C #481C8D #8D1C60
monochromatic
#0B2708 #1A5A12 #288D1C #36C026 #58DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288D1C#FFFFFF#000000##000000
##288D1C1.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)
#0D8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d1c;
/* rgb */ color: rgb(40, 141, 28);
/* oklch */ color: oklch(56.4% 0.173 141.7);
Tailwind
colors: {
  custom: {
    50: '#72af62',
    500: '#288d1c',
    950: '#000000',
  },
}
SCSS
$custom: #288d1c;
$custom-light: #72af62;
$custom-dark: #000000;
JSON
{
  "hex": "#288d1c",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 113.628,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.17252,
    "h": 141.7
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#288D1C
secondary
#B048BD
accent
#3EEAD8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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