#288E4A#288E4A

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

Color values

HEX#288E4A
RGBrgb(40, 142, 74)
HSLhsl(140, 56%, 36%)
HSVhsv(140, 72%, 56%)
CMYKcmyk(71.8%, 0%, 47.9%, 44.3%)
CIE-LABlab(52.16, -44.50, 27.98)
CIE-LCHlch(52.16, 52.56, 147.84°)
OKLaboklab(57.26% -0.1198 0.0685)
OKLCHoklch(57.26% 0.138 150.3)
XYZxyz(11.7831, 20.2902, 9.7727)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E4A #8E286C
analogous
#398E28 #288E4A #288E7D
triadic
#288E4A #4A288E #8E4A28
tetradic
#288E4A #28398E #8E286C #8E7D28
square
#288E4A #28398E #8E286C #8E7D28
split-complementary
#288E4A #7D288E #8E2839
monochromatic
#0D2F18 #1B5E31 #288E4A #35BE63 #5FD285

Accessibility & contrast

On white

4.15
#288E4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#288E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E4A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E4A#FFFFFF#000000##000000
##288E4A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8245
Deuteranopia (green-blind)
#82794F
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e4a;
/* rgb */ color: rgb(40, 142, 74);
/* oklch */ color: oklch(57.3% 0.138 150.3);
Tailwind
colors: {
  custom: {
    50: '#70b07d',
    500: '#288e4a',
    950: '#000000',
  },
}
SCSS
$custom: #288e4a;
$custom-light: #70b07d;
$custom-dark: #000000;
JSON
{
  "hex": "#288e4a",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 140,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.13798,
    "h": 150.3
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#288E4A
secondary
#B75B98
accent
#48ADDF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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