#288E51#288E51

#288E51 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.131 H 152.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#288E51
RGBrgb(40, 142, 81)
HSLhsl(144, 56%, 36%)
HSVhsv(144, 72%, 56%)
CMYKcmyk(71.8%, 0%, 43%, 44.3%)
CIE-LABlab(52.28, -43.23, 24.33)
CIE-LCHlch(52.28, 49.61, 150.63°)
OKLaboklab(57.39% -0.1165 0.0603)
OKLCHoklch(57.39% 0.131 152.7)
XYZxyz(12.0322, 20.3899, 11.0845)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E51 #8E2865
analogous
#328E28 #288E51 #288E84
triadic
#288E51 #51288E #8E5128
tetradic
#288E51 #28328E #8E2865 #8E8428
square
#288E51 #28328E #8E2865 #8E8428
split-complementary
#288E51 #84288E #8E2832
monochromatic
#0D2F1B #1B5E36 #288E51 #35BE6C #5FD28D

Accessibility & contrast

On white

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

On black

5.08
#288E51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E51
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E51#FFFFFF#000000##000000
##288E511.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288e51;
/* rgb */ color: rgb(40, 142, 81);
/* oklch */ color: oklch(57.4% 0.131 152.7);
Tailwind
colors: {
  custom: {
    50: '#70b082',
    500: '#288e51',
    950: '#000000',
  },
}
SCSS
$custom: #288e51;
$custom-light: #70b082;
$custom-dark: #000000;
JSON
{
  "hex": "#288e51",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 81
  },
  "hsl": {
    "h": 144.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.1312,
    "h": 152.7
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#288E51
secondary
#B75B92
accent
#48A3DF
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #288E51

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

Preview Lab → · Contrast checker → · Palette generator →

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