#288D2F#288D2F

#288D2F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.160 H 144.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#288D2F
RGBrgb(40, 141, 47)
HSLhsl(124, 56%, 35%)
HSVhsv(124, 72%, 55%)
CMYKcmyk(71.6%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.50, -47.94, 40.63)
CIE-LCHlch(51.50, 62.84, 139.72°)
OKLaboklab(56.61% -0.1298 0.0942)
OKLCHoklch(56.61% 0.16 144)
XYZxyz(10.9123, 19.7049, 5.9171)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D2F #8D2886
analogous
#548D28 #288D2F #288D61
triadic
#288D2F #2F288D #8D2F28
tetradic
#288D2F #28548D #8D2886 #8D6128
square
#288D2F #28548D #8D2886 #8D6128
split-complementary
#288D2F #61288D #8D2854
monochromatic
#0D2E0F #1A5D1F #288D2F #36BD3F #5ED166

Accessibility & contrast

On white

4.25
#288D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#288D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D2F#FFFFFF#000000##000000
##288D2F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#048979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d2f;
/* rgb */ color: rgb(40, 141, 47);
/* oklch */ color: oklch(56.6% 0.160 144.0);
Tailwind
colors: {
  custom: {
    50: '#71af6c',
    500: '#288d2f',
    950: '#000000',
  },
}
SCSS
$custom: #288d2f;
$custom-light: #71af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288d2f",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 124.158,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.1604,
    "h": 144
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#288D2F
secondary
#B75AB0
accent
#49D5DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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