#287618#287618

#287618 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.147 H 140.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#287618
RGBrgb(40, 118, 24)
HSLhsl(110, 66%, 28%)
HSVhsv(110, 80%, 46%)
CMYKcmyk(66.1%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.47, -41.70, 41.67)
CIE-LCHlch(43.47, 58.95, 135.02°)
OKLaboklab(49.89% -0.1141 0.0934)
OKLCHoklch(49.89% 0.147 140.7)
XYZxyz(7.5180, 13.4732, 3.0684)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287618 #661876
analogous
#577618 #287618 #187637
triadic
#287618 #182876 #761828
tetradic
#287618 #185776 #661876 #763718
square
#287618 #185776 #661876 #763718
split-complementary
#287618 #371876 #761857
monochromatic
#091905 #17430E #287618 #39A922 #4FD533

Accessibility & contrast

On white

5.68
#287618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#287618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287618
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287618#FFFFFF#000000##FFFFFF
##2876181.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#1B7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287618;
/* rgb */ color: rgb(40, 118, 24);
/* oklch */ color: oklch(49.9% 0.147 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9e5d',
    500: '#287618',
    950: '#000000',
  },
}
SCSS
$custom: #287618;
$custom-light: #6d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#287618",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 109.787,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49892,
    "c": 0.14747,
    "h": 140.7
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#287618
secondary
#993FAB
accent
#3FE9CC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287618

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

Preview Lab → · Contrast checker → · Palette generator →

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