#288840#288840

#288840 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.139 H 148.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#288840
RGBrgb(40, 136, 64)
HSLhsl(135, 55%, 35%)
HSVhsv(135, 71%, 53%)
CMYKcmyk(70.6%, 0%, 52.9%, 46.7%)
CIE-LABlab(50.01, -43.83, 30.58)
CIE-LCHlch(50.01, 53.45, 145.10°)
OKLaboklab(55.43% -0.1181 0.0738)
OKLCHoklch(55.43% 0.139 148)
XYZxyz(10.6039, 18.4285, 7.8477)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288840 #882870
analogous
#408828 #288840 #288870
triadic
#288840 #402888 #884028
tetradic
#288840 #284088 #882870 #887028
square
#288840 #284088 #882870 #887028
split-complementary
#288840 #702888 #882840
monochromatic
#0C2913 #1A592A #288840 #36B756 #5BCF78

Accessibility & contrast

On white

4.48
#288840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#288840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288840
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288840#FFFFFF#000000##000000
##2888401.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288840;
/* rgb */ color: rgb(40, 136, 64);
/* oklch */ color: oklch(55.4% 0.139 148.0);
Tailwind
colors: {
  custom: {
    50: '#6fac76',
    500: '#288840',
    950: '#000000',
  },
}
SCSS
$custom: #288840;
$custom-light: #6fac76;
$custom-dark: #000000;
JSON
{
  "hex": "#288840",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 135,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.1393,
    "h": 148
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#288840
secondary
#B4589D
accent
#4AB9DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288840

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

Preview Lab → · Contrast checker → · Palette generator →

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