#288D4D#288D4D

#288D4D is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.134 H 151.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#288D4D
RGBrgb(40, 141, 77)
HSLhsl(142, 56%, 35%)
HSVhsv(142, 72%, 55%)
CMYKcmyk(71.6%, 0%, 45.4%, 44.7%)
CIE-LABlab(51.88, -43.58, 25.99)
CIE-LCHlch(51.88, 50.74, 149.18°)
OKLaboklab(57.04% -0.1174 0.064)
OKLCHoklch(57.04% 0.134 151.4)
XYZxyz(11.7385, 20.0354, 10.2683)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D4D #8D2868
analogous
#368D28 #288D4D #288D7F
triadic
#288D4D #4D288D #8D4D28
tetradic
#288D4D #28368D #8D2868 #8D7F28
square
#288D4D #28368D #8D2868 #8D7F28
split-complementary
#288D4D #7F288D #8D2836
monochromatic
#0D2E19 #1A5D33 #288D4D #36BD67 #5ED188

Accessibility & contrast

On white

4.19
#288D4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#288D4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D4D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D4D#FFFFFF#000000##000000
##288D4D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8148
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288d4d;
/* rgb */ color: rgb(40, 141, 77);
/* oklch */ color: oklch(57.0% 0.134 151.4);
Tailwind
colors: {
  custom: {
    50: '#70af80',
    500: '#288d4d',
    950: '#000000',
  },
}
SCSS
$custom: #288d4d;
$custom-light: #70af80;
$custom-dark: #000000;
JSON
{
  "hex": "#288d4d",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 141.98,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.1337,
    "h": 151.4
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#288D4D
secondary
#B75A95
accent
#49A8DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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