#288F37#288F37

#288F37 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.157 H 145.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#288F37
RGBrgb(40, 143, 55)
HSLhsl(129, 56%, 36%)
HSVhsv(129, 72%, 56%)
CMYKcmyk(72%, 0%, 61.5%, 43.9%)
CIE-LABlab(52.25, -47.72, 37.77)
CIE-LCHlch(52.25, 60.85, 141.64°)
OKLaboklab(57.25% -0.1288 0.0889)
OKLCHoklch(57.25% 0.157 145.4)
XYZxyz(11.3863, 20.3706, 6.9455)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F37 #8F2880
analogous
#4C8F28 #288F37 #288F6A
triadic
#288F37 #37288F #8F3728
tetradic
#288F37 #284C8F #8F2880 #8F6A28
square
#288F37 #284C8F #8F2880 #8F6A28
split-complementary
#288F37 #6A288F #8F284C
monochromatic
#0D2F12 #1B5F25 #288F37 #35BF49 #5FD270

Accessibility & contrast

On white

4.14
#288F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#288F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F37
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F37#FFFFFF#000000##000000
##288F371.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822E
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f37;
/* rgb */ color: rgb(40, 143, 55);
/* oklch */ color: oklch(57.3% 0.157 145.4);
Tailwind
colors: {
  custom: {
    50: '#71b171',
    500: '#288f37',
    950: '#000000',
  },
}
SCSS
$custom: #288f37;
$custom-light: #71b171;
$custom-dark: #000000;
JSON
{
  "hex": "#288f37",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 128.738,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.15654,
    "h": 145.4
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#288F37
secondary
#B85BAA
accent
#48CAE0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #288F37

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

Preview Lab → · Contrast checker → · Palette generator →

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