#288E40#288E40

#288E40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.147 H 147.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#288E40
RGBrgb(40, 142, 64)
HSLhsl(134, 56%, 36%)
HSVhsv(134, 72%, 56%)
CMYKcmyk(71.8%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.02, -46.11, 33.04)
CIE-LCHlch(52.02, 56.72, 144.37°)
OKLaboklab(57.1% -0.1242 0.0793)
OKLCHoklch(57.1% 0.147 147.5)
XYZxyz(11.4726, 20.1660, 8.1373)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E40 #8E2876
analogous
#438E28 #288E40 #288E73
triadic
#288E40 #40288E #8E4028
tetradic
#288E40 #28438E #8E2876 #8E7328
square
#288E40 #28438E #8E2876 #8E7328
split-complementary
#288E40 #73288E #8E2843
monochromatic
#0D2F15 #1B5E2A #288E40 #35BE56 #5FD27A

Accessibility & contrast

On white

4.17
#288E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E40#FFFFFF#000000##000000
##288E401.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e40;
/* rgb */ color: rgb(40, 142, 64);
/* oklch */ color: oklch(57.1% 0.147 147.5);
Tailwind
colors: {
  custom: {
    50: '#71b077',
    500: '#288e40',
    950: '#000000',
  },
}
SCSS
$custom: #288e40;
$custom-light: #71b077;
$custom-dark: #000000;
JSON
{
  "hex": "#288e40",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 134.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57098,
    "c": 0.14738,
    "h": 147.5
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#288E40
secondary
#B75BA1
accent
#48BCDF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #288E40

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

Preview Lab → · Contrast checker → · Palette generator →

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