#288D2E#288D2E

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

Color values

HEX#288D2E
RGBrgb(40, 141, 46)
HSLhsl(124, 56%, 35%)
HSVhsv(124, 72%, 55%)
CMYKcmyk(71.6%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.49, -48.05, 41.06)
CIE-LCHlch(51.49, 63.21, 139.48°)
OKLaboklab(56.59% -0.1302 0.095)
OKLCHoklch(56.59% 0.161 143.9)
XYZxyz(10.8924, 19.6969, 5.8121)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D2E #8D2887
analogous
#558D28 #288D2E #288D60
triadic
#288D2E #2E288D #8D2E28
tetradic
#288D2E #28558D #8D2887 #8D6028
square
#288D2E #28558D #8D2887 #8D6028
split-complementary
#288D2E #60288D #8D2855
monochromatic
#0D2E0F #1A5D1E #288D2E #36BD3E #5ED165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288D2E#FFFFFF#000000##000000
##288D2E1.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)
#908022
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#048979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d2e;
/* rgb */ color: rgb(40, 141, 46);
/* oklch */ color: oklch(56.6% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#71af6b',
    500: '#288d2e',
    950: '#000000',
  },
}
SCSS
$custom: #288d2e;
$custom-light: #71af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#288d2e",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 123.564,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.16115,
    "h": 143.9
  },
  "luminance": 0.19698
}

Semantic roles & 50–950 ramp

primary
#288D2E
secondary
#B75AB1
accent
#49D6DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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