#288A2B#288A2B

#288A2B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.160 H 143.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#288A2B
RGBrgb(40, 138, 43)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 54%)
CMYKcmyk(71%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.45, -47.30, 41.25)
CIE-LCHlch(50.45, 62.76, 138.91°)
OKLaboklab(55.73% -0.1283 0.0951)
OKLCHoklch(55.73% 0.16 143.5)
XYZxyz(10.3990, 18.8014, 5.3660)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A2B #8A2887
analogous
#568A28 #288A2B #288A5C
triadic
#288A2B #2B288A #8A2B28
tetradic
#288A2B #28568A #8A2887 #8A5C28
square
#288A2B #28568A #8A2887 #8A5C28
split-complementary
#288A2B #5C288A #8A2856
monochromatic
#0C2B0D #1A5B1C #288A2B #36B93A #5DD060

Accessibility & contrast

On white

4.41
#288A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#288A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A2B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A2B#FFFFFF#000000##000000
##288A2B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#098677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a2b;
/* rgb */ color: rgb(40, 138, 43);
/* oklch */ color: oklch(55.7% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#71ad69',
    500: '#288a2b',
    950: '#000000',
  },
}
SCSS
$custom: #288a2b;
$custom-light: #71ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#288a2b",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 121.837,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.15965,
    "h": 143.5
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#288A2B
secondary
#B559B2
accent
#49DADE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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