#288B42#288B42

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

Color values

HEX#288B42
RGBrgb(40, 139, 66)
HSLhsl(136, 55%, 35%)
HSVhsv(136, 71%, 55%)
CMYKcmyk(71.2%, 0%, 52.5%, 45.5%)
CIE-LABlab(51.05, -44.67, 30.81)
CIE-LCHlch(51.05, 54.26, 145.40°)
OKLaboklab(56.3% -0.1203 0.0745)
OKLCHoklch(56.3% 0.142 148.2)
XYZxyz(11.0902, 19.3085, 8.2956)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B42 #8B2871
analogous
#3F8B28 #288B42 #288B74
triadic
#288B42 #42288B #8B4228
tetradic
#288B42 #283F8B #8B2871 #8B7428
square
#288B42 #283F8B #8B2871 #8B7428
split-complementary
#288B42 #74288B #8B283F
monochromatic
#0D2C15 #1A5B2B #288B42 #36BB59 #5DD07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B42#FFFFFF#000000##000000
##288B421.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)
#8C7F3C
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288b42;
/* rgb */ color: rgb(40, 139, 66);
/* oklch */ color: oklch(56.3% 0.141 148.2);
Tailwind
colors: {
  custom: {
    50: '#70ae78',
    500: '#288b42',
    950: '#000000',
  },
}
SCSS
$custom: #288b42;
$custom-light: #70ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#288b42",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 66
  },
  "hsl": {
    "h": 135.758,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.1415,
    "h": 148.2
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#288B42
secondary
#B6599D
accent
#49B7DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288B42

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

Preview Lab → · Contrast checker → · Palette generator →

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