#288D54#288D54

#288D54 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.2% C 0.127 H 154.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#288D54
RGBrgb(40, 141, 84)
HSLhsl(146, 56%, 35%)
HSVhsv(146, 72%, 55%)
CMYKcmyk(71.6%, 0%, 40.4%, 44.7%)
CIE-LABlab(51.99, -42.25, 22.31)
CIE-LCHlch(51.99, 47.78, 152.17°)
OKLaboklab(57.17% -0.1141 0.0556)
OKLCHoklch(57.17% 0.127 154)
XYZxyz(11.9991, 20.1396, 11.6407)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D54 #8D2861
analogous
#2E8D28 #288D54 #288D86
triadic
#288D54 #54288D #8D5428
tetradic
#288D54 #282E8D #8D2861 #8D8628
square
#288D54 #282E8D #8D2861 #8D8628
split-complementary
#288D54 #86288D #8D282E
monochromatic
#0D2E1B #1A5D38 #288D54 #36BD70 #5ED190

Accessibility & contrast

On white

4.18
#288D54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#288D54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D54
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D54#FFFFFF#000000##000000
##288D541.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8150
Deuteranopia (green-blind)
#807858
Tritanopia (blue-blind)
#008B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288d54;
/* rgb */ color: rgb(40, 141, 84);
/* oklch */ color: oklch(57.2% 0.127 154.0);
Tailwind
colors: {
  custom: {
    50: '#70af84',
    500: '#288d54',
    950: '#000000',
  },
}
SCSS
$custom: #288d54;
$custom-light: #70af84;
$custom-dark: #000000;
JSON
{
  "hex": "#288d54",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 84
  },
  "hsl": {
    "h": 146.139,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.12688,
    "h": 154
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#288D54
secondary
#B75A8E
accent
#499EDF
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #288D54

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

Preview Lab → · Contrast checker → · Palette generator →

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