#288F4E#288F4E

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

Color values

HEX#288F4E
RGBrgb(40, 143, 78)
HSLhsl(142, 56%, 36%)
HSVhsv(142, 72%, 56%)
CMYKcmyk(72%, 0%, 45.5%, 43.9%)
CIE-LABlab(52.56, -44.18, 26.33)
CIE-LCHlch(52.56, 51.43, 149.21°)
OKLaboklab(57.6% -0.119 0.0648)
OKLCHoklch(57.6% 0.136 151.4)
XYZxyz(12.0717, 20.6447, 10.5549)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F4E #8F2869
analogous
#358F28 #288F4E #288F81
triadic
#288F4E #4E288F #8F4E28
tetradic
#288F4E #28358F #8F2869 #8F8128
square
#288F4E #28358F #8F2869 #8F8128
split-complementary
#288F4E #81288F #8F2835
monochromatic
#0D2F1A #1B5F34 #288F4E #35BF68 #5FD28A

Accessibility & contrast

On white

4.09
#288F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F4E#FFFFFF#000000##000000
##288F4E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288f4e;
/* rgb */ color: rgb(40, 143, 78);
/* oklch */ color: oklch(57.6% 0.136 151.4);
Tailwind
colors: {
  custom: {
    50: '#71b180',
    500: '#288f4e',
    950: '#000000',
  },
}
SCSS
$custom: #288f4e;
$custom-light: #71b180;
$custom-dark: #000000;
JSON
{
  "hex": "#288f4e",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 142.136,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.1355,
    "h": 151.4
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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