#288D1A#288D1A

#288D1A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.173 H 141.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#288D1A
RGBrgb(40, 141, 26)
HSLhsl(113, 69%, 33%)
HSVhsv(113, 82%, 55%)
CMYKcmyk(71.6%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.35, -49.75, 48.56)
CIE-LCHlch(51.35, 69.52, 135.69°)
OKLaboklab(56.43% -0.1358 0.108)
OKLCHoklch(56.43% 0.174 141.5)
XYZxyz(10.5858, 19.5743, 4.1974)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D1A #7F1A8D
analogous
#618D1A #288D1A #1A8D46
triadic
#288D1A #1A288D #8D1A28
tetradic
#288D1A #1A618D #7F1A8D #8D461A
square
#288D1A #1A618D #7F1A8D #8D461A
split-complementary
#288D1A #461A8D #8D1A61
monochromatic
#0B2607 #195910 #288D1A #37C124 #57DD45

Accessibility & contrast

On white

4.27
#288D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#288D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D1A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D1A#FFFFFF#000000##000000
##288D1A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#0E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d1a;
/* rgb */ color: rgb(40, 141, 26);
/* oklch */ color: oklch(56.4% 0.173 141.5);
Tailwind
colors: {
  custom: {
    50: '#72af61',
    500: '#288d1a',
    950: '#000000',
  },
}
SCSS
$custom: #288d1a;
$custom-light: #72af61;
$custom-dark: #000000;
JSON
{
  "hex": "#288d1a",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 112.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.1735,
    "h": 141.5
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#288D1A
secondary
#AF45BE
accent
#3CECD6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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