#288F5A#288F5A

#288F5A is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.124 H 156.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#288F5A
RGBrgb(40, 143, 90)
HSLhsl(149, 56%, 36%)
HSVhsv(149, 72%, 56%)
CMYKcmyk(72%, 0%, 37.1%, 43.9%)
CIE-LABlab(52.77, -41.85, 20.00)
CIE-LCHlch(52.77, 46.39, 154.46°)
OKLaboklab(57.84% -0.1132 0.0502)
OKLCHoklch(57.84% 0.124 156.1)
XYZxyz(12.5418, 20.8328, 13.0310)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F5A #8F285D
analogous
#2A8F28 #288F5A #288F8D
triadic
#288F5A #5A288F #8F5A28
tetradic
#288F5A #282A8F #8F285D #8F8D28
square
#288F5A #282A8F #8F285D #8F8D28
split-complementary
#288F5A #8D288F #8F282A
monochromatic
#0D2F1E #1B5F3C #288F5A #35BF78 #5FD297

Accessibility & contrast

On white

4.06
#288F5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#288F5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F5A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F5A#FFFFFF#000000##000000
##288F5A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8357
Deuteranopia (green-blind)
#817A5D
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #288f5a;
/* rgb */ color: rgb(40, 143, 90);
/* oklch */ color: oklch(57.8% 0.124 156.1);
Tailwind
colors: {
  custom: {
    50: '#70b189',
    500: '#288f5a',
    950: '#000000',
  },
}
SCSS
$custom: #288f5a;
$custom-light: #70b189;
$custom-dark: #000000;
JSON
{
  "hex": "#288f5a",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 90
  },
  "hsl": {
    "h": 149.126,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.12387,
    "h": 156.1
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#288F5A
secondary
#B85B8B
accent
#4896E0
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #288F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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