#288A3B#288A3B

#288A3B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.147 H 146.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#288A3B
RGBrgb(40, 138, 59)
HSLhsl(132, 55%, 35%)
HSVhsv(132, 71%, 54%)
CMYKcmyk(71%, 0%, 57.2%, 45.9%)
CIE-LABlab(50.62, -45.34, 33.89)
CIE-LCHlch(50.62, 56.60, 143.22°)
OKLaboklab(55.92% -0.1223 0.0808)
OKLCHoklch(55.92% 0.147 146.5)
XYZxyz(10.7522, 18.9427, 7.2265)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A3B #8A2877
analogous
#468A28 #288A3B #288A6C
triadic
#288A3B #3B288A #8A3B28
tetradic
#288A3B #28468A #8A2877 #8A6C28
square
#288A3B #28468A #8A2877 #8A6C28
split-complementary
#288A3B #6C288A #8A2846
monochromatic
#0C2B12 #1A5B27 #288A3B #36B94F #5DD073

Accessibility & contrast

On white

4.39
#288A3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#288A3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A3B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A3B#FFFFFF#000000##000000
##288A3B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D33
Deuteranopia (green-blind)
#807541
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a3b;
/* rgb */ color: rgb(40, 138, 59);
/* oklch */ color: oklch(55.9% 0.147 146.5);
Tailwind
colors: {
  custom: {
    50: '#70ad73',
    500: '#288a3b',
    950: '#000000',
  },
}
SCSS
$custom: #288a3b;
$custom-light: #70ad73;
$custom-dark: #000000;
JSON
{
  "hex": "#288a3b",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 59
  },
  "hsl": {
    "h": 131.633,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.14658,
    "h": 146.5
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#288A3B
secondary
#B559A3
accent
#49C2DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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