#288E32#288E32

#288E32 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.159 H 144.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#288E32
RGBrgb(40, 142, 50)
HSLhsl(126, 56%, 36%)
HSVhsv(126, 72%, 56%)
CMYKcmyk(71.8%, 0%, 64.8%, 44.3%)
CIE-LABlab(51.87, -47.96, 39.67)
CIE-LCHlch(51.87, 62.24, 140.40°)
OKLaboklab(56.92% -0.1297 0.0925)
OKLCHoklch(56.92% 0.159 144.5)
XYZxyz(11.1231, 20.0262, 6.2962)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E32 #8E2884
analogous
#518E28 #288E32 #288E65
triadic
#288E32 #32288E #8E3228
tetradic
#288E32 #28518E #8E2884 #8E6528
square
#288E32 #28518E #8E2884 #8E6528
split-complementary
#288E32 #65288E #8E2851
monochromatic
#0D2F10 #1B5E21 #288E32 #35BE43 #5FD26A

Accessibility & contrast

On white

4.20
#288E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#288E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E32
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E32#FFFFFF#000000##000000
##288E321.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#85783A
Tritanopia (blue-blind)
#018A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288e32;
/* rgb */ color: rgb(40, 142, 50);
/* oklch */ color: oklch(56.9% 0.159 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b06e',
    500: '#288e32',
    950: '#000000',
  },
}
SCSS
$custom: #288e32;
$custom-light: #71b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#288e32",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 125.882,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.15933,
    "h": 144.5
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#288E32
secondary
#B75BAE
accent
#48D1DF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288E32

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

Preview Lab → · Contrast checker → · Palette generator →

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