#288B3F#288B3F

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

Color values

HEX#288B3F
RGBrgb(40, 139, 63)
HSLhsl(134, 55%, 35%)
HSVhsv(134, 71%, 55%)
CMYKcmyk(71.2%, 0%, 54.7%, 45.5%)
CIE-LABlab(51.01, -45.13, 32.32)
CIE-LCHlch(51.01, 55.51, 144.39°)
OKLaboklab(56.25% -0.1216 0.0776)
OKLCHoklch(56.25% 0.144 147.5)
XYZxyz(11.0041, 19.2740, 7.8420)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B3F #8B2874
analogous
#438B28 #288B3F #288B70
triadic
#288B3F #3F288B #8B3F28
tetradic
#288B3F #28438B #8B2874 #8B7028
square
#288B3F #28438B #8B2874 #8B7028
split-complementary
#288B3F #70288B #8B2843
monochromatic
#0D2C14 #1A5B29 #288B3F #36BB55 #5DD078

Accessibility & contrast

On white

4.33
#288B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288B3F#FFFFFF#000000##000000
##288B3F1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288b3f;
/* rgb */ color: rgb(40, 139, 63);
/* oklch */ color: oklch(56.3% 0.144 147.5);
Tailwind
colors: {
  custom: {
    50: '#70ae76',
    500: '#288b3f',
    950: '#000000',
  },
}
SCSS
$custom: #288b3f;
$custom-light: #70ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#288b3f",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 133.939,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.14428,
    "h": 147.5
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#288B3F
secondary
#B659A0
accent
#49BCDF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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