#288B41#288B41

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

Color values

HEX#288B41
RGBrgb(40, 139, 65)
HSLhsl(135, 55%, 35%)
HSVhsv(135, 71%, 55%)
CMYKcmyk(71.2%, 0%, 53.2%, 45.5%)
CIE-LABlab(51.03, -44.82, 31.31)
CIE-LCHlch(51.03, 54.68, 145.06°)
OKLaboklab(56.28% -0.1208 0.0755)
OKLCHoklch(56.28% 0.142 148)
XYZxyz(11.0610, 19.2968, 8.1417)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B41 #8B2872
analogous
#408B28 #288B41 #288B73
triadic
#288B41 #41288B #8B4128
tetradic
#288B41 #28408B #8B2872 #8B7328
square
#288B41 #28408B #8B2872 #8B7328
split-complementary
#288B41 #73288B #8B2840
monochromatic
#0D2C15 #1A5B2B #288B41 #36BB57 #5DD07A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B41#FFFFFF#000000##000000
##288B411.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)
#8C7F3B
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b41;
/* rgb */ color: rgb(40, 139, 65);
/* oklch */ color: oklch(56.3% 0.142 148.0);
Tailwind
colors: {
  custom: {
    50: '#70ae77',
    500: '#288b41',
    950: '#000000',
  },
}
SCSS
$custom: #288b41;
$custom-light: #70ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#288b41",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 135.152,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.14243,
    "h": 148
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#288B41
secondary
#B6599E
accent
#49B9DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B41

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

Preview Lab → · Contrast checker → · Palette generator →

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