#288728#288728

#288728 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.158 H 143.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#288728
RGBrgb(40, 135, 40)
HSLhsl(120, 54%, 34%)
HSVhsv(120, 70%, 53%)
CMYKcmyk(70.4%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.41, -46.53, 41.42)
CIE-LCHlch(49.41, 62.29, 138.32°)
OKLaboklab(54.85% -0.1263 0.0951)
OKLCHoklch(54.85% 0.158 143)
XYZxyz(9.9215, 17.9312, 4.9453)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288728 #872887
analogous
#588728 #288728 #288758
triadic
#288728 #282887 #872828
tetradic
#288728 #285887 #872887 #875828
square
#288728 #285887 #872887 #875828
split-complementary
#288728 #582887 #872858
monochromatic
#0C290C #1A581A #288728 #36B636 #5BCE5B

Accessibility & contrast

On white

4.58
#288728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#288728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288728
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288728#FFFFFF#000000##000000
##2887281.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#0E8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288728;
/* rgb */ color: rgb(40, 135, 40);
/* oklch */ color: oklch(54.9% 0.158 143.0);
Tailwind
colors: {
  custom: {
    50: '#70ab67',
    500: '#288728',
    950: '#000000',
  },
}
SCSS
$custom: #288728;
$custom-light: #70ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#288728",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.1581,
    "h": 143
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#288728
secondary
#B457B4
accent
#4ADEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288728

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

Preview Lab → · Contrast checker → · Palette generator →

#288728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva