#288C1C#288C1C

#288C1C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.171 H 141.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288C1C
RGBrgb(40, 140, 28)
HSLhsl(114, 67%, 33%)
HSVhsv(114, 80%, 55%)
CMYKcmyk(71.4%, 0%, 80%, 45.1%)
CIE-LABlab(51.02, -49.28, 47.61)
CIE-LCHlch(51.02, 68.52, 135.99°)
OKLaboklab(56.16% -0.1344 0.1063)
OKLCHoklch(56.16% 0.171 141.6)
XYZxyz(10.4622, 19.2900, 4.2704)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C1C #801C8C
analogous
#608C1C #288C1C #1C8C48
triadic
#288C1C #1C288C #8C1C28
tetradic
#288C1C #1C608C #801C8C #8C481C
square
#288C1C #1C608C #801C8C #8C481C
split-complementary
#288C1C #481C8C #8C1C60
monochromatic
#0B2608 #195912 #288C1C #37BF26 #58DA48

Accessibility & contrast

On white

4.32
#288C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#288C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C1C#FFFFFF#000000##000000
##288C1C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#0E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c1c;
/* rgb */ color: rgb(40, 140, 28);
/* oklch */ color: oklch(56.2% 0.171 141.6);
Tailwind
colors: {
  custom: {
    50: '#72af62',
    500: '#288c1c',
    950: '#000000',
  },
}
SCSS
$custom: #288c1c;
$custom-light: #72af62;
$custom-dark: #000000;
JSON
{
  "hex": "#288c1c",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 113.571,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.17137,
    "h": 141.6
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#288C1C
secondary
#B048BC
accent
#3EEAD7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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