#288D47#288D47

#288D47 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.139 H 149.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288D47
RGBrgb(40, 141, 71)
HSLhsl(138, 56%, 35%)
HSVhsv(138, 72%, 55%)
CMYKcmyk(71.6%, 0%, 49.6%, 44.7%)
CIE-LABlab(51.79, -44.62, 29.10)
CIE-LCHlch(51.79, 53.27, 146.89°)
OKLaboklab(56.93% -0.1201 0.0709)
OKLCHoklch(56.93% 0.139 149.5)
XYZxyz(11.5364, 19.9545, 9.2036)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D47 #8D286E
analogous
#3B8D28 #288D47 #288D79
triadic
#288D47 #47288D #8D4728
tetradic
#288D47 #283B8D #8D286E #8D7928
square
#288D47 #283B8D #8D286E #8D7928
split-complementary
#288D47 #79288D #8D283B
monochromatic
#0D2E17 #1A5D2F #288D47 #36BD5F #5ED181

Accessibility & contrast

On white

4.21
#288D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#288D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D47
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D47#FFFFFF#000000##000000
##288D471.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8141
Deuteranopia (green-blind)
#82784C
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d47;
/* rgb */ color: rgb(40, 141, 71);
/* oklch */ color: oklch(56.9% 0.139 149.5);
Tailwind
colors: {
  custom: {
    50: '#70af7b',
    500: '#288d47',
    950: '#000000',
  },
}
SCSS
$custom: #288d47;
$custom-light: #70af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#288d47",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 138.416,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.13949,
    "h": 149.5
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#288D47
secondary
#B75A9A
accent
#49B1DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288D47

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

Preview Lab → · Contrast checker → · Palette generator →

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