#288F4C#288F4C

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

Color values

HEX#288F4C
RGBrgb(40, 143, 76)
HSLhsl(141, 56%, 36%)
HSVhsv(141, 72%, 56%)
CMYKcmyk(72%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.53, -44.54, 27.37)
CIE-LCHlch(52.53, 52.27, 148.43°)
OKLaboklab(57.57% -0.1199 0.0671)
OKLCHoklch(57.57% 0.137 150.8)
XYZxyz(12.0011, 20.6165, 10.1830)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F4C #8F286B
analogous
#378F28 #288F4C #288F7F
triadic
#288F4C #4C288F #8F4C28
tetradic
#288F4C #28378F #8F286B #8F7F28
square
#288F4C #28378F #8F286B #8F7F28
split-complementary
#288F4C #7F288F #8F2837
monochromatic
#0D2F19 #1B5F33 #288F4C #35BF65 #5FD287

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F4C#FFFFFF#000000##000000
##288F4C1.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)
#908347
Deuteranopia (green-blind)
#837A51
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f4c;
/* rgb */ color: rgb(40, 143, 76);
/* oklch */ color: oklch(57.6% 0.137 150.8);
Tailwind
colors: {
  custom: {
    50: '#71b17f',
    500: '#288f4c',
    950: '#000000',
  },
}
SCSS
$custom: #288f4c;
$custom-light: #71b17f;
$custom-dark: #000000;
JSON
{
  "hex": "#288f4c",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 140.971,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.13743,
    "h": 150.8
  },
  "luminance": 0.20618
}

Semantic roles & 50–950 ramp

primary
#288F4C
secondary
#B85B97
accent
#48ABE0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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