#288642#288642

#288642 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.135 H 148.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#288642
RGBrgb(40, 134, 66)
HSLhsl(137, 54%, 34%)
HSVhsv(137, 70%, 53%)
CMYKcmyk(70.1%, 0%, 50.7%, 47.5%)
CIE-LABlab(49.37, -42.74, 28.73)
CIE-LCHlch(49.37, 51.49, 146.09°)
OKLaboklab(54.91% -0.1151 0.0698)
OKLCHoklch(54.91% 0.135 148.8)
XYZxyz(10.3827, 17.8935, 8.0598)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288642 #86286C
analogous
#3D8628 #288642 #288671
triadic
#288642 #422886 #864228
tetradic
#288642 #283D86 #86286C #867128
square
#288642 #283D86 #86286C #867128
split-complementary
#288642 #712886 #86283D
monochromatic
#0C2814 #1A572B #288642 #36B559 #5BCE7A

Accessibility & contrast

On white

4.59
#288642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#288642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288642
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288642#FFFFFF#000000##FFFFFF
##2886421.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288642;
/* rgb */ color: rgb(40, 134, 66);
/* oklch */ color: oklch(54.9% 0.135 148.8);
Tailwind
colors: {
  custom: {
    50: '#6faa78',
    500: '#288642',
    950: '#000000',
  },
}
SCSS
$custom: #288642;
$custom-light: #6faa78;
$custom-dark: #000000;
JSON
{
  "hex": "#288642",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 136.596,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.13464,
    "h": 148.8
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#288642
secondary
#B3579A
accent
#4AB5DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288642

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

Preview Lab → · Contrast checker → · Palette generator →

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