#288D24#288D24

#288D24 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.168 H 142.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288D24
RGBrgb(40, 141, 36)
HSLhsl(118, 59%, 35%)
HSVhsv(118, 74%, 55%)
CMYKcmyk(71.6%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.41, -49.01, 45.13)
CIE-LCHlch(51.41, 66.62, 137.36°)
OKLaboklab(56.5% -0.1333 0.1023)
OKLCHoklch(56.5% 0.168 142.5)
XYZxyz(10.7178, 19.6271, 4.8923)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D24 #89248D
analogous
#5D8D24 #288D24 #248D54
triadic
#288D24 #24288D #8D2428
tetradic
#288D24 #245D8D #89248D #8D5424
square
#288D24 #245D8D #89248D #8D5424
split-complementary
#288D24 #54248D #8D245D
monochromatic
#0C2B0B #1A5C18 #288D24 #36BE30 #5CD457

Accessibility & contrast

On white

4.26
#288D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#288D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D24
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D24#FFFFFF#000000##000000
##288D241.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#85772F
Tritanopia (blue-blind)
#0A8979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d24;
/* rgb */ color: rgb(40, 141, 36);
/* oklch */ color: oklch(56.5% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#72af66',
    500: '#288d24',
    950: '#000000',
  },
}
SCSS
$custom: #288d24;
$custom-light: #72af66;
$custom-dark: #000000;
JSON
{
  "hex": "#288d24",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 117.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.16801,
    "h": 142.5
  },
  "luminance": 0.19628
}

Semantic roles & 50–950 ramp

primary
#288D24
secondary
#B554B8
accent
#45E3DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288D24

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

Preview Lab → · Contrast checker → · Palette generator →

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