#288740#288740

#288740 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.2% C 0.138 H 148.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#288740
RGBrgb(40, 135, 64)
HSLhsl(135, 54%, 34%)
HSVhsv(135, 70%, 53%)
CMYKcmyk(70.4%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.68, -43.45, 30.17)
CIE-LCHlch(49.68, 52.89, 145.23°)
OKLaboklab(55.16% -0.1171 0.0729)
OKLCHoklch(55.16% 0.138 148.1)
XYZxyz(10.4637, 18.1481, 7.8010)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288740 #87286F
analogous
#408728 #288740 #288770
triadic
#288740 #402887 #874028
tetradic
#288740 #284087 #87286F #877028
square
#288740 #284087 #87286F #877028
split-complementary
#288740 #702887 #872840
monochromatic
#0C2913 #1A582A #288740 #36B656 #5BCE78

Accessibility & contrast

On white

4.54
#288740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#288740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288740
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288740#FFFFFF#000000##000000
##2887401.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288740;
/* rgb */ color: rgb(40, 135, 64);
/* oklch */ color: oklch(55.2% 0.138 148.1);
Tailwind
colors: {
  custom: {
    50: '#6fab76',
    500: '#288740',
    950: '#000000',
  },
}
SCSS
$custom: #288740;
$custom-light: #6fab76;
$custom-dark: #000000;
JSON
{
  "hex": "#288740",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 135.158,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55156,
    "c": 0.13792,
    "h": 148.1
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#288740
secondary
#B4579C
accent
#4AB8DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288740

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

Preview Lab → · Contrast checker → · Palette generator →

#288740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva