#288724#288724

#288724 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.161 H 142.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#288724
RGBrgb(40, 135, 36)
HSLhsl(118, 58%, 34%)
HSVhsv(118, 73%, 53%)
CMYKcmyk(70.4%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.38, -46.90, 43.04)
CIE-LCHlch(49.38, 63.66, 137.46°)
OKLaboklab(54.82% -0.1276 0.0979)
OKLCHoklch(54.82% 0.161 142.5)
XYZxyz(9.8569, 17.9054, 4.6053)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288724 #832487
analogous
#598724 #288724 #248751
triadic
#288724 #242887 #872428
tetradic
#288724 #245987 #832487 #875124
square
#288724 #245987 #832487 #875124
split-complementary
#288724 #512487 #872459
monochromatic
#0B260A #1A5717 #288724 #36B731 #59D154

Accessibility & contrast

On white

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

On black

4.58
#288724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288724
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288724#FFFFFF#000000##000000
##2887241.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#0F8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288724;
/* rgb */ color: rgb(40, 135, 36);
/* oklch */ color: oklch(54.8% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#71ab65',
    500: '#288724',
    950: '#000000',
  },
}
SCSS
$custom: #288724;
$custom-light: #71ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#288724",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 117.576,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.16082,
    "h": 142.5
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#288724
secondary
#B151B5
accent
#47E1DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288724

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

Preview Lab → · Contrast checker → · Palette generator →

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