#288F4D#288F4D

#288F4D is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.136 H 151.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#288F4D
RGBrgb(40, 143, 77)
HSLhsl(142, 56%, 36%)
HSVhsv(142, 72%, 56%)
CMYKcmyk(72%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.54, -44.36, 26.85)
CIE-LCHlch(52.54, 51.85, 148.81°)
OKLaboklab(57.59% -0.1195 0.066)
OKLCHoklch(57.59% 0.136 151.1)
XYZxyz(12.0361, 20.6305, 10.3675)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F4D #8F286A
analogous
#378F28 #288F4D #288F80
triadic
#288F4D #4D288F #8F4D28
tetradic
#288F4D #28378F #8F286A #8F8028
square
#288F4D #28378F #8F286A #8F8028
split-complementary
#288F4D #80288F #8F2837
monochromatic
#0D2F19 #1B5F33 #288F4D #35BF67 #5FD288

Accessibility & contrast

On white

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

On black

5.13
#288F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F4D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F4D#FFFFFF#000000##000000
##288F4D1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908348
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f4d;
/* rgb */ color: rgb(40, 143, 77);
/* oklch */ color: oklch(57.6% 0.136 151.1);
Tailwind
colors: {
  custom: {
    50: '#71b180',
    500: '#288f4d',
    950: '#000000',
  },
}
SCSS
$custom: #288f4d;
$custom-light: #71b180;
$custom-dark: #000000;
JSON
{
  "hex": "#288f4d",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 141.553,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.13647,
    "h": 151.1
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#288F4D
secondary
#B85B96
accent
#48A9E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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