#288618#288618

#288618 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.166 H 141.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#288618
RGBrgb(40, 134, 24)
HSLhsl(111, 70%, 31%)
HSVhsv(111, 82%, 53%)
CMYKcmyk(70.1%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.97, -47.46, 46.94)
CIE-LCHlch(48.97, 66.75, 135.32°)
OKLaboklab(54.45% -0.1297 0.1044)
OKLCHoklch(54.45% 0.166 141.2)
XYZxyz(9.5645, 17.5663, 3.7505)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288618 #761886
analogous
#5F8618 #288618 #18863F
triadic
#288618 #182886 #861828
tetradic
#288618 #185F86 #761886 #863F18
square
#288618 #185F86 #761886 #863F18
split-complementary
#288618 #3F1886 #86185F
monochromatic
#091E05 #19520F #288618 #37BA21 #54DC3C

Accessibility & contrast

On white

4.65
#288618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#288618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288618
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288618#FFFFFF#000000##FFFFFF
##2886181.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#138272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288618;
/* rgb */ color: rgb(40, 134, 24);
/* oklch */ color: oklch(54.4% 0.166 141.2);
Tailwind
colors: {
  custom: {
    50: '#71aa5f',
    500: '#288618',
    950: '#000000',
  },
}
SCSS
$custom: #288618;
$custom-light: #71aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#288618",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 111.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.16646,
    "h": 141.2
  },
  "luminance": 0.17567
}

Semantic roles & 50–950 ramp

primary
#288618
secondary
#A840BA
accent
#3BECD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #288618

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

Preview Lab → · Contrast checker → · Palette generator →

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