#288D52#288D52

#288D52 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.129 H 153.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#288D52
RGBrgb(40, 141, 82)
HSLhsl(145, 56%, 35%)
HSVhsv(145, 72%, 55%)
CMYKcmyk(71.6%, 0%, 41.8%, 44.7%)
CIE-LABlab(51.96, -42.64, 23.37)
CIE-LCHlch(51.96, 48.63, 151.28°)
OKLaboklab(57.13% -0.115 0.058)
OKLCHoklch(57.13% 0.129 153.2)
XYZxyz(11.9219, 20.1087, 11.2341)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D52 #8D2863
analogous
#318D28 #288D52 #288D84
triadic
#288D52 #52288D #8D5228
tetradic
#288D52 #28318D #8D2863 #8D8428
square
#288D52 #28318D #8D2863 #8D8428
split-complementary
#288D52 #84288D #8D2831
monochromatic
#0D2E1B #1A5D36 #288D52 #36BD6E #5ED18E

Accessibility & contrast

On white

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

On black

5.02
#288D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D52
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D52#FFFFFF#000000##000000
##288D521.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#817856
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288d52;
/* rgb */ color: rgb(40, 141, 82);
/* oklch */ color: oklch(57.1% 0.129 153.2);
Tailwind
colors: {
  custom: {
    50: '#70af83',
    500: '#288d52',
    950: '#000000',
  },
}
SCSS
$custom: #288d52;
$custom-light: #70af83;
$custom-dark: #000000;
JSON
{
  "hex": "#288d52",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 144.95,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.12883,
    "h": 153.2
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#288D52
secondary
#B75A90
accent
#49A1DF
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288D52

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

Preview Lab → · Contrast checker → · Palette generator →

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