#288240#288240

#288240 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.131 H 148.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#288240
RGBrgb(40, 130, 64)
HSLhsl(136, 53%, 33%)
HSVhsv(136, 69%, 51%)
CMYKcmyk(69.2%, 0%, 50.8%, 49%)
CIE-LABlab(47.99, -41.49, 28.07)
CIE-LCHlch(47.99, 50.10, 145.92°)
OKLaboklab(53.76% -0.1119 0.0682)
OKLCHoklch(53.76% 0.131 148.6)
XYZxyz(9.7824, 16.7855, 7.5739)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288240 #82286A
analogous
#3D8228 #288240 #28826D
triadic
#288240 #402882 #824028
tetradic
#288240 #283D82 #82286A #826D28
square
#288240 #283D82 #82286A #826D28
split-complementary
#288240 #6D2882 #82283D
monochromatic
#0B2412 #1A5329 #288240 #36B157 #59CC77

Accessibility & contrast

On white

4.82
#288240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#288240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288240
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288240#FFFFFF#000000##FFFFFF
##2882401.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#017F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288240;
/* rgb */ color: rgb(40, 130, 64);
/* oklch */ color: oklch(53.8% 0.131 148.6);
Tailwind
colors: {
  custom: {
    50: '#6ea776',
    500: '#288240',
    950: '#000000',
  },
}
SCSS
$custom: #288240;
$custom-light: #6ea776;
$custom-dark: #000000;
JSON
{
  "hex": "#288240",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 136,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.13101,
    "h": 148.6
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#288240
secondary
#B15598
accent
#4BB6DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #288240

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

Preview Lab → · Contrast checker → · Palette generator →

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