#288E4D#288E4D

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

Color values

HEX#288E4D
RGBrgb(40, 142, 77)
HSLhsl(142, 56%, 36%)
HSVhsv(142, 72%, 56%)
CMYKcmyk(71.8%, 0%, 45.8%, 44.3%)
CIE-LABlab(52.21, -43.97, 26.42)
CIE-LCHlch(52.21, 51.30, 149.00°)
OKLaboklab(57.31% -0.1184 0.065)
OKLCHoklch(57.31% 0.135 151.2)
XYZxyz(11.8866, 20.3316, 10.3177)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E4D #8E2869
analogous
#368E28 #288E4D #288E80
triadic
#288E4D #4D288E #8E4D28
tetradic
#288E4D #28368E #8E2869 #8E8028
square
#288E4D #28368E #8E2869 #8E8028
split-complementary
#288E4D #80288E #8E2836
monochromatic
#0D2F19 #1B5E33 #288E4D #35BE67 #5FD288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E4D#FFFFFF#000000##000000
##288E4D1.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)
#8F8248
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288e4d;
/* rgb */ color: rgb(40, 142, 77);
/* oklch */ color: oklch(57.3% 0.135 151.2);
Tailwind
colors: {
  custom: {
    50: '#70b080',
    500: '#288e4d',
    950: '#000000',
  },
}
SCSS
$custom: #288e4d;
$custom-light: #70b080;
$custom-dark: #000000;
JSON
{
  "hex": "#288e4d",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 141.765,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.13509,
    "h": 151.2
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#288E4D
secondary
#B75B96
accent
#48A9DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #288E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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