#288F4A#288F4A

#288F4A is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.139 H 150.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#288F4A
RGBrgb(40, 143, 74)
HSLhsl(140, 56%, 36%)
HSVhsv(140, 72%, 56%)
CMYKcmyk(72%, 0%, 48.3%, 43.9%)
CIE-LABlab(52.50, -44.88, 28.40)
CIE-LCHlch(52.50, 53.11, 147.68°)
OKLaboklab(57.53% -0.1208 0.0694)
OKLCHoklch(57.53% 0.139 150.1)
XYZxyz(11.9326, 20.5891, 9.8225)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F4A #8F286D
analogous
#398F28 #288F4A #288F7D
triadic
#288F4A #4A288F #8F4A28
tetradic
#288F4A #28398F #8F286D #8F7D28
square
#288F4A #28398F #8F286D #8F7D28
split-complementary
#288F4A #7D288F #8F2839
monochromatic
#0D2F19 #1B5F31 #288F4A #35BF63 #5FD285

Accessibility & contrast

On white

4.10
#288F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#288F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F4A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F4A#FFFFFF#000000##000000
##288F4A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908345
Deuteranopia (green-blind)
#837A4F
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f4a;
/* rgb */ color: rgb(40, 143, 74);
/* oklch */ color: oklch(57.5% 0.139 150.1);
Tailwind
colors: {
  custom: {
    50: '#71b17e',
    500: '#288f4a',
    950: '#000000',
  },
}
SCSS
$custom: #288f4a;
$custom-light: #71b17e;
$custom-dark: #000000;
JSON
{
  "hex": "#288f4a",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 139.806,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.13936,
    "h": 150.1
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

primary
#288F4A
secondary
#B85B99
accent
#48AEE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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