#288F4F#288F4F

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

Color values

HEX#288F4F
RGBrgb(40, 143, 79)
HSLhsl(143, 56%, 36%)
HSVhsv(143, 72%, 56%)
CMYKcmyk(72%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.57, -44.00, 25.81)
CIE-LCHlch(52.57, 51.01, 149.60°)
OKLaboklab(57.62% -0.1185 0.0636)
OKLCHoklch(57.62% 0.135 151.8)
XYZxyz(12.1078, 20.6592, 10.7451)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F4F #8F2868
analogous
#358F28 #288F4F #288F82
triadic
#288F4F #4F288F #8F4F28
tetradic
#288F4F #28358F #8F2868 #8F8228
square
#288F4F #28358F #8F2868 #8F8228
split-complementary
#288F4F #82288F #8F2835
monochromatic
#0D2F1A #1B5F35 #288F4F #35BF69 #5FD28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288F4F#FFFFFF#000000##000000
##288F4F1.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)
#8F834A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f4f;
/* rgb */ color: rgb(40, 143, 79);
/* oklch */ color: oklch(57.6% 0.135 151.8);
Tailwind
colors: {
  custom: {
    50: '#71b181',
    500: '#288f4f',
    950: '#000000',
  },
}
SCSS
$custom: #288f4f;
$custom-light: #71b181;
$custom-dark: #000000;
JSON
{
  "hex": "#288f4f",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 142.718,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.13453,
    "h": 151.8
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#288F4F
secondary
#B85B95
accent
#48A6E0
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #288F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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