#288D4A#288D4A

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

Color values

HEX#288D4A
RGBrgb(40, 141, 74)
HSLhsl(140, 56%, 35%)
HSVhsv(140, 72%, 55%)
CMYKcmyk(71.6%, 0%, 47.5%, 44.7%)
CIE-LABlab(51.83, -44.11, 27.55)
CIE-LCHlch(51.83, 52.01, 148.01°)
OKLaboklab(56.98% -0.1188 0.0675)
OKLCHoklch(56.98% 0.137 150.4)
XYZxyz(11.6350, 19.9940, 9.7233)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D4A #8D286B
analogous
#388D28 #288D4A #288D7C
triadic
#288D4A #4A288D #8D4A28
tetradic
#288D4A #28388D #8D286B #8D7C28
square
#288D4A #28388D #8D286B #8D7C28
split-complementary
#288D4A #7C288D #8D2838
monochromatic
#0D2E18 #1A5D31 #288D4A #36BD63 #5ED185

Accessibility & contrast

On white

4.20
#288D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#288D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D4A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D4A#FFFFFF#000000##000000
##288D4A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8145
Deuteranopia (green-blind)
#82784F
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288d4a;
/* rgb */ color: rgb(40, 141, 74);
/* oklch */ color: oklch(57.0% 0.137 150.4);
Tailwind
colors: {
  custom: {
    50: '#70af7d',
    500: '#288d4a',
    950: '#000000',
  },
}
SCSS
$custom: #288d4a;
$custom-light: #70af7d;
$custom-dark: #000000;
JSON
{
  "hex": "#288d4a",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 140.198,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.13661,
    "h": 150.4
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#288D4A
secondary
#B75A98
accent
#49ACDF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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