#288D2C#288D2C

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

Color values

HEX#288D2C
RGBrgb(40, 141, 44)
HSLhsl(122, 56%, 35%)
HSVhsv(122, 72%, 55%)
CMYKcmyk(71.6%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.48, -48.26, 41.92)
CIE-LCHlch(51.48, 63.93, 139.02°)
OKLaboklab(56.57% -0.1308 0.0966)
OKLCHoklch(56.57% 0.163 143.6)
XYZxyz(10.8539, 19.6815, 5.6093)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D2C #8D2889
analogous
#568D28 #288D2C #288D5E
triadic
#288D2C #2C288D #8D2C28
tetradic
#288D2C #28568D #8D2889 #8D5E28
square
#288D2C #28568D #8D2889 #8D5E28
split-complementary
#288D2C #5E288D #8D2856
monochromatic
#0D2E0E #1A5D1D #288D2C #36BD3B #5ED163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288D2C#FFFFFF#000000##000000
##288D2C1.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)
#90801F
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#068979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d2c;
/* rgb */ color: rgb(40, 141, 44);
/* oklch */ color: oklch(56.6% 0.163 143.6);
Tailwind
colors: {
  custom: {
    50: '#72af6a',
    500: '#288d2c',
    950: '#000000',
  },
}
SCSS
$custom: #288d2c;
$custom-light: #72af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#288d2c",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 122.376,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.16262,
    "h": 143.6
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#288D2C
secondary
#B75AB3
accent
#49D9DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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