#288E4F#288E4F

#288E4F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.133 H 151.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#288E4F
RGBrgb(40, 142, 79)
HSLhsl(143, 56%, 36%)
HSVhsv(143, 72%, 56%)
CMYKcmyk(71.8%, 0%, 44.4%, 44.3%)
CIE-LABlab(52.24, -43.61, 25.38)
CIE-LCHlch(52.24, 50.45, 149.80°)
OKLaboklab(57.35% -0.1175 0.0626)
OKLCHoklch(57.35% 0.133 151.9)
XYZxyz(11.9583, 20.3603, 10.6953)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E4F #8E2867
analogous
#348E28 #288E4F #288E82
triadic
#288E4F #4F288E #8E4F28
tetradic
#288E4F #28348E #8E2867 #8E8228
square
#288E4F #28348E #8E2867 #8E8228
split-complementary
#288E4F #82288E #8E2834
monochromatic
#0D2F1A #1B5E34 #288E4F #35BE6A #5FD28B

Accessibility & contrast

On white

4.14
#288E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#288E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E4F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E4F#FFFFFF#000000##000000
##288E4F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824A
Deuteranopia (green-blind)
#827953
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288e4f;
/* rgb */ color: rgb(40, 142, 79);
/* oklch */ color: oklch(57.3% 0.133 151.9);
Tailwind
colors: {
  custom: {
    50: '#70b081',
    500: '#288e4f',
    950: '#000000',
  },
}
SCSS
$custom: #288e4f;
$custom-light: #70b081;
$custom-dark: #000000;
JSON
{
  "hex": "#288e4f",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 142.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.13315,
    "h": 151.9
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#288E4F
secondary
#B75B94
accent
#48A6DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #288E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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