#288E52#288E52

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

Color values

HEX#288E52
RGBrgb(40, 142, 82)
HSLhsl(145, 56%, 36%)
HSVhsv(145, 72%, 56%)
CMYKcmyk(71.8%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.29, -43.04, 23.80)
CIE-LCHlch(52.29, 49.19, 151.06°)
OKLaboklab(57.41% -0.1161 0.0591)
OKLCHoklch(57.41% 0.13 153)
XYZxyz(12.0700, 20.4050, 11.2834)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E52 #8E2864
analogous
#318E28 #288E52 #288E85
triadic
#288E52 #52288E #8E5228
tetradic
#288E52 #28318E #8E2864 #8E8528
square
#288E52 #28318E #8E2864 #8E8528
split-complementary
#288E52 #85288E #8E2831
monochromatic
#0D2F1B #1B5E36 #288E52 #35BE6E #5FD28E

Accessibility & contrast

On white

4.13
#288E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E52#FFFFFF#000000##000000
##288E521.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288e52;
/* rgb */ color: rgb(40, 142, 82);
/* oklch */ color: oklch(57.4% 0.130 153.0);
Tailwind
colors: {
  custom: {
    50: '#70b083',
    500: '#288e52',
    950: '#000000',
  },
}
SCSS
$custom: #288e52;
$custom-light: #70b083;
$custom-dark: #000000;
JSON
{
  "hex": "#288e52",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 144.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.13023,
    "h": 153
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#288E52
secondary
#B75B91
accent
#48A1DF
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288E52

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

Preview Lab → · Contrast checker → · Palette generator →

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