#287518#287518

#287518 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.146 H 140.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#287518
RGBrgb(40, 117, 24)
HSLhsl(110, 66%, 28%)
HSVhsv(110, 79%, 46%)
CMYKcmyk(65.8%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.12, -41.32, 41.33)
CIE-LCHlch(43.12, 58.44, 134.99°)
OKLaboklab(49.61% -0.1131 0.0927)
OKLCHoklch(49.61% 0.146 140.7)
XYZxyz(7.4009, 13.2389, 3.0293)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287518 #651875
analogous
#577518 #287518 #187536
triadic
#287518 #182875 #751828
tetradic
#287518 #185775 #651875 #753618
square
#287518 #185775 #651875 #753618
split-complementary
#287518 #361875 #751857
monochromatic
#091905 #17420E #287518 #39A822 #4ED532

Accessibility & contrast

On white

5.76
#287518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#287518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287518
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287518#FFFFFF#000000##FFFFFF
##2875181.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#1C7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287518;
/* rgb */ color: rgb(40, 117, 24);
/* oklch */ color: oklch(49.6% 0.146 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9e5c',
    500: '#287518',
    950: '#000000',
  },
}
SCSS
$custom: #287518;
$custom-light: #6d9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287518",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 109.677,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.14624,
    "h": 140.7
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#287518
secondary
#983FAA
accent
#3FE9CC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287518

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

Preview Lab → · Contrast checker → · Palette generator →

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