#288D2D#288D2D

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

Color values

HEX#288D2D
RGBrgb(40, 141, 45)
HSLhsl(123, 56%, 35%)
HSVhsv(123, 72%, 55%)
CMYKcmyk(71.6%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.48, -48.16, 41.49)
CIE-LCHlch(51.48, 63.57, 139.25°)
OKLaboklab(56.58% -0.1305 0.0958)
OKLCHoklch(56.58% 0.162 143.7)
XYZxyz(10.8729, 19.6891, 5.7095)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D2D #8D2888
analogous
#568D28 #288D2D #288D5F
triadic
#288D2D #2D288D #8D2D28
tetradic
#288D2D #28568D #8D2888 #8D5F28
square
#288D2D #28568D #8D2888 #8D5F28
split-complementary
#288D2D #5F288D #8D2856
monochromatic
#0D2E0F #1A5D1E #288D2D #36BD3C #5ED164

Accessibility & contrast

On white

4.25
#288D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#288D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D2D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D2D#FFFFFF#000000##000000
##288D2D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#058979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d2d;
/* rgb */ color: rgb(40, 141, 45);
/* oklch */ color: oklch(56.6% 0.162 143.7);
Tailwind
colors: {
  custom: {
    50: '#71af6b',
    500: '#288d2d',
    950: '#000000',
  },
}
SCSS
$custom: #288d2d;
$custom-light: #71af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#288d2d",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 122.97,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.16189,
    "h": 143.7
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#288D2D
secondary
#B75AB2
accent
#49D8DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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