#288D2A#288D2A

#288D2A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.164 H 143.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288D2A
RGBrgb(40, 141, 42)
HSLhsl(121, 56%, 35%)
HSVhsv(121, 72%, 55%)
CMYKcmyk(71.6%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.46, -48.46, 42.75)
CIE-LCHlch(51.46, 64.63, 138.58°)
OKLaboklab(56.56% -0.1315 0.0981)
OKLCHoklch(56.56% 0.164 143.3)
XYZxyz(10.8172, 19.6669, 5.4160)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D2A #8D288B
analogous
#588D28 #288D2A #288D5C
triadic
#288D2A #2A288D #8D2A28
tetradic
#288D2A #28588D #8D288B #8D5C28
square
#288D2A #28588D #8D288B #8D5C28
split-complementary
#288D2A #5C288D #8D2858
monochromatic
#0D2E0E #1A5D1C #288D2A #36BD38 #5ED160

Accessibility & contrast

On white

4.26
#288D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#288D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D2A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D2A#FFFFFF#000000##000000
##288D2A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#847833
Tritanopia (blue-blind)
#078979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d2a;
/* rgb */ color: rgb(40, 141, 42);
/* oklch */ color: oklch(56.6% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#72af69',
    500: '#288d2a',
    950: '#000000',
  },
}
SCSS
$custom: #288d2a;
$custom-light: #72af69;
$custom-dark: #000000;
JSON
{
  "hex": "#288d2a",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 121.188,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.16404,
    "h": 143.3
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#288D2A
secondary
#B75AB5
accent
#49DCDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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