#288F40#288F40

#288F40 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.149 H 147.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#288F40
RGBrgb(40, 143, 64)
HSLhsl(134, 56%, 36%)
HSVhsv(134, 72%, 56%)
CMYKcmyk(72%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.36, -46.48, 33.45)
CIE-LCHlch(52.36, 57.26, 144.26°)
OKLaboklab(57.37% -0.1252 0.0802)
OKLCHoklch(57.37% 0.149 147.4)
XYZxyz(11.6221, 20.4649, 8.1871)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F40 #8F2877
analogous
#438F28 #288F40 #288F73
triadic
#288F40 #40288F #8F4028
tetradic
#288F40 #28438F #8F2877 #8F7328
square
#288F40 #28438F #8F2877 #8F7328
split-complementary
#288F40 #73288F #8F2843
monochromatic
#0D2F15 #1B5F2B #288F40 #35BF55 #5FD27A

Accessibility & contrast

On white

4.12
#288F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#288F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F40
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F40#FFFFFF#000000##000000
##288F401.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#847A46
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f40;
/* rgb */ color: rgb(40, 143, 64);
/* oklch */ color: oklch(57.4% 0.149 147.4);
Tailwind
colors: {
  custom: {
    50: '#71b177',
    500: '#288f40',
    950: '#000000',
  },
}
SCSS
$custom: #288f40;
$custom-light: #71b177;
$custom-dark: #000000;
JSON
{
  "hex": "#288f40",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 133.981,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.1487,
    "h": 147.4
  },
  "luminance": 0.20466
}

Semantic roles & 50–950 ramp

primary
#288F40
secondary
#B85BA2
accent
#48BCE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #288F40

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

Preview Lab → · Contrast checker → · Palette generator →

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