#288A1D#288A1D

#288A1D is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.169 H 141.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#288A1D
RGBrgb(40, 138, 29)
HSLhsl(114, 65%, 33%)
HSVhsv(114, 79%, 54%)
CMYKcmyk(71%, 0%, 79%, 45.9%)
CIE-LABlab(50.35, -48.52, 46.62)
CIE-LCHlch(50.35, 67.29, 136.14°)
OKLaboklab(55.61% -0.1323 0.1044)
OKLCHoklch(55.61% 0.169 141.7)
XYZxyz(10.1848, 18.7157, 4.2379)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A1D #7F1D8A
analogous
#5E8A1D #288A1D #1D8A48
triadic
#288A1D #1D288A #8A1D28
tetradic
#288A1D #1D5E8A #7F1D8A #8A481D
square
#288A1D #1D5E8A #7F1D8A #8A481D
split-complementary
#288A1D #481D8A #8A1D5E
monochromatic
#0B2508 #195712 #288A1D #37BD28 #57D949

Accessibility & contrast

On white

4.43
#288A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#288A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##288A1D#FFFFFF#000000##000000
##288A1D1.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)
#8D7D02
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#0F8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a1d;
/* rgb */ color: rgb(40, 138, 29);
/* oklch */ color: oklch(55.6% 0.169 141.7);
Tailwind
colors: {
  custom: {
    50: '#72ad62',
    500: '#288a1d',
    950: '#000000',
  },
}
SCSS
$custom: #288a1d;
$custom-light: #72ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#288a1d",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 113.945,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.16854,
    "h": 141.7
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#288A1D
secondary
#AF48BB
accent
#40E8D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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