#288A32#288A32

#288A32 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.154 H 144.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#288A32
RGBrgb(40, 138, 50)
HSLhsl(126, 55%, 35%)
HSVhsv(126, 71%, 54%)
CMYKcmyk(71%, 0%, 63.8%, 45.9%)
CIE-LABlab(50.52, -46.52, 38.16)
CIE-LCHlch(50.52, 60.16, 140.64°)
OKLaboklab(55.8% -0.1258 0.0893)
OKLCHoklch(55.8% 0.154 144.6)
XYZxyz(10.5386, 18.8572, 6.1014)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288A32 #8A2880
analogous
#4F8A28 #288A32 #288A63
triadic
#288A32 #32288A #8A3228
tetradic
#288A32 #284F8A #8A2880 #8A6328
square
#288A32 #284F8A #8A2880 #8A6328
split-complementary
#288A32 #63288A #8A284F
monochromatic
#0C2B10 #1A5B21 #288A32 #36B943 #5DD068

Accessibility & contrast

On white

4.40
#288A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#288A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288A32
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288A32#FFFFFF#000000##000000
##288A321.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#058677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288a32;
/* rgb */ color: rgb(40, 138, 50);
/* oklch */ color: oklch(55.8% 0.154 144.6);
Tailwind
colors: {
  custom: {
    50: '#71ad6d',
    500: '#288a32',
    950: '#000000',
  },
}
SCSS
$custom: #288a32;
$custom-light: #71ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#288a32",
  "rgb": {
    "r": 40,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 126.122,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.558,
    "c": 0.15426,
    "h": 144.6
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#288A32
secondary
#B559AC
accent
#49CFDE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288A32

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

Preview Lab → · Contrast checker → · Palette generator →

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