#288940#288940

#288940 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.141 H 147.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#288940
RGBrgb(40, 137, 64)
HSLhsl(135, 55%, 35%)
HSVhsv(135, 71%, 54%)
CMYKcmyk(70.8%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.35, -44.22, 30.99)
CIE-LCHlch(50.35, 54.00, 144.97°)
OKLaboklab(55.71% -0.1191 0.0748)
OKLCHoklch(55.71% 0.141 147.9)
XYZxyz(10.7453, 18.7114, 7.8949)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288940 #892871
analogous
#418928 #288940 #288970
triadic
#288940 #402889 #894028
tetradic
#288940 #284189 #892871 #897028
square
#288940 #284189 #892871 #897028
split-complementary
#288940 #702889 #892841
monochromatic
#0C2A14 #1A5A2A #288940 #36B856 #5CCF79

Accessibility & contrast

On white

4.43
#288940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#288940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288940
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288940#FFFFFF#000000##000000
##2889401.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3A
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288940;
/* rgb */ color: rgb(40, 137, 64);
/* oklch */ color: oklch(55.7% 0.141 147.9);
Tailwind
colors: {
  custom: {
    50: '#70ac76',
    500: '#288940',
    950: '#000000',
  },
}
SCSS
$custom: #288940;
$custom-light: #70ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#288940",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 134.845,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.14065,
    "h": 147.9
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288940

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

Preview Lab → · Contrast checker → · Palette generator →

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