#288D18#288D18

#288D18 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.174 H 141.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288D18
RGBrgb(40, 141, 24)
HSLhsl(112, 71%, 32%)
HSVhsv(112, 83%, 55%)
CMYKcmyk(71.6%, 0%, 83%, 44.7%)
CIE-LABlab(51.34, -49.87, 49.16)
CIE-LCHlch(51.34, 70.03, 135.41°)
OKLaboklab(56.42% -0.1362 0.109)
OKLCHoklch(56.42% 0.174 141.3)
XYZxyz(10.5642, 19.5657, 4.0838)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D18 #7D188D
analogous
#628D18 #288D18 #188D43
triadic
#288D18 #18288D #8D1828
tetradic
#288D18 #18628D #7D188D #8D4318
square
#288D18 #18628D #7D188D #8D4318
split-complementary
#288D18 #43188D #8D1862
monochromatic
#0A2406 #19590F #288D18 #37C121 #56DF41

Accessibility & contrast

On white

4.27
#288D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#288D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D18#FFFFFF#000000##000000
##288D181.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#0E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288d18;
/* rgb */ color: rgb(40, 141, 24);
/* oklch */ color: oklch(56.4% 0.174 141.3);
Tailwind
colors: {
  custom: {
    50: '#73af60',
    500: '#288d18',
    950: '#000000',
  },
}
SCSS
$custom: #288d18;
$custom-light: #73af60;
$custom-dark: #000000;
JSON
{
  "hex": "#288d18",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 111.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.17444,
    "h": 141.3
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#288D18
secondary
#AE42BF
accent
#3AEED5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288D18

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

Preview Lab → · Contrast checker → · Palette generator →

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