#288F54#288F54

#288F54 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.130 H 153.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#288F54
RGBrgb(40, 143, 84)
HSLhsl(146, 56%, 36%)
HSVhsv(146, 72%, 56%)
CMYKcmyk(72%, 0%, 41.3%, 43.9%)
CIE-LABlab(52.66, -43.06, 23.18)
CIE-LCHlch(52.66, 48.90, 151.70°)
OKLaboklab(57.72% -0.1162 0.0577)
OKLCHoklch(57.72% 0.13 153.6)
XYZxyz(12.2967, 20.7348, 11.7399)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F54 #8F2863
analogous
#2F8F28 #288F54 #288F87
triadic
#288F54 #54288F #8F5428
tetradic
#288F54 #282F8F #8F2863 #8F8728
square
#288F54 #282F8F #8F2863 #8F8728
split-complementary
#288F54 #87288F #8F282F
monochromatic
#0D2F1C #1B5F38 #288F54 #35BF70 #5FD290

Accessibility & contrast

On white

4.08
#288F54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#288F54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F54
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F54#FFFFFF#000000##000000
##288F541.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8350
Deuteranopia (green-blind)
#827A58
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #288f54;
/* rgb */ color: rgb(40, 143, 84);
/* oklch */ color: oklch(57.7% 0.130 153.6);
Tailwind
colors: {
  custom: {
    50: '#71b184',
    500: '#288f54',
    950: '#000000',
  },
}
SCSS
$custom: #288f54;
$custom-light: #71b184;
$custom-dark: #000000;
JSON
{
  "hex": "#288f54",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 84
  },
  "hsl": {
    "h": 145.631,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.12968,
    "h": 153.6
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

primary
#288F54
secondary
#B85B90
accent
#489FE0
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #288F54

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

Preview Lab → · Contrast checker → · Palette generator →

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