#288F41#288F41

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

Color values

HEX#288F41
RGBrgb(40, 143, 65)
HSLhsl(135, 56%, 36%)
HSVhsv(135, 72%, 56%)
CMYKcmyk(72%, 0%, 54.5%, 43.9%)
CIE-LABlab(52.37, -46.33, 32.95)
CIE-LCHlch(52.37, 56.85, 144.58°)
OKLaboklab(57.39% -0.1248 0.0792)
OKLCHoklch(57.39% 0.148 147.6)
XYZxyz(11.6508, 20.4764, 8.3383)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F41 #8F2876
analogous
#428F28 #288F41 #288F74
triadic
#288F41 #41288F #8F4128
tetradic
#288F41 #28428F #8F2876 #8F7428
square
#288F41 #28428F #8F2876 #8F7428
split-complementary
#288F41 #74288F #8F2842
monochromatic
#0D2F16 #1B5F2B #288F41 #35BF57 #5FD27B

Accessibility & contrast

On white

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

On black

5.10
#288F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F41
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F41#FFFFFF#000000##000000
##288F411.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823A
Deuteranopia (green-blind)
#847A47
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #288f41;
/* rgb */ color: rgb(40, 143, 65);
/* oklch */ color: oklch(57.4% 0.148 147.6);
Tailwind
colors: {
  custom: {
    50: '#71b177',
    500: '#288f41',
    950: '#000000',
  },
}
SCSS
$custom: #288f41;
$custom-light: #71b177;
$custom-dark: #000000;
JSON
{
  "hex": "#288f41",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 134.563,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.1478,
    "h": 147.6
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#288F41
secondary
#B85BA1
accent
#48BBE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #288F41

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

Preview Lab → · Contrast checker → · Palette generator →

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