#288C1D#288C1D

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

Color values

HEX#288C1D
RGBrgb(40, 140, 29)
HSLhsl(114, 66%, 33%)
HSVhsv(114, 79%, 55%)
CMYKcmyk(71.4%, 0%, 79.3%, 45.1%)
CIE-LABlab(51.03, -49.21, 47.28)
CIE-LCHlch(51.03, 68.24, 136.14°)
OKLaboklab(56.17% -0.1342 0.1058)
OKLCHoklch(56.17% 0.171 141.7)
XYZxyz(10.4743, 19.2949, 4.3344)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C1D #811D8C
analogous
#5F8C1D #288C1D #1D8C49
triadic
#288C1D #1D288C #8C1D28
tetradic
#288C1D #1D5F8C #811D8C #8C491D
square
#288C1D #1D5F8C #811D8C #8C491D
split-complementary
#288C1D #491D8C #8C1D5F
monochromatic
#0B2708 #1A5912 #288C1D #36BF28 #58D94A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288C1D#FFFFFF#000000##000000
##288C1D1.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)
#8F7E01
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#0E8877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c1d;
/* rgb */ color: rgb(40, 140, 29);
/* oklch */ color: oklch(56.2% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#72af62',
    500: '#288c1d',
    950: '#000000',
  },
}
SCSS
$custom: #288c1d;
$custom-light: #72af62;
$custom-dark: #000000;
JSON
{
  "hex": "#288c1d",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 114.054,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.17086,
    "h": 141.7
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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