#288B40#288B40

#288B40 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.143 H 147.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288B40
RGBrgb(40, 139, 64)
HSLhsl(135, 55%, 35%)
HSVhsv(135, 71%, 55%)
CMYKcmyk(71.2%, 0%, 54%, 45.5%)
CIE-LABlab(51.02, -44.98, 31.82)
CIE-LCHlch(51.02, 55.09, 144.72°)
OKLaboklab(56.27% -0.1212 0.0766)
OKLCHoklch(56.27% 0.143 147.7)
XYZxyz(11.0323, 19.2853, 7.9905)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B40 #8B2873
analogous
#428B28 #288B40 #288B71
triadic
#288B40 #40288B #8B4028
tetradic
#288B40 #28428B #8B2873 #8B7128
square
#288B40 #28428B #8B2873 #8B7128
split-complementary
#288B40 #71288B #8B2842
monochromatic
#0D2C14 #1A5B2A #288B40 #36BB56 #5DD079

Accessibility & contrast

On white

4.32
#288B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#288B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B40
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B40#FFFFFF#000000##000000
##288B401.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b40;
/* rgb */ color: rgb(40, 139, 64);
/* oklch */ color: oklch(56.3% 0.143 147.7);
Tailwind
colors: {
  custom: {
    50: '#70ae76',
    500: '#288b40',
    950: '#000000',
  },
}
SCSS
$custom: #288b40;
$custom-light: #70ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#288b40",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 134.545,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.14336,
    "h": 147.7
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#288B40
secondary
#B6599F
accent
#49BADF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B40

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

Preview Lab → · Contrast checker → · Palette generator →

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