#287418#287418

#287418 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.145 H 140.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#287418
RGBrgb(40, 116, 24)
HSLhsl(110, 66%, 27%)
HSVhsv(110, 79%, 45%)
CMYKcmyk(65.5%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.77, -40.95, 40.99)
CIE-LCHlch(42.77, 57.94, 134.97°)
OKLaboklab(49.32% -0.1121 0.092)
OKLCHoklch(49.32% 0.145 140.6)
XYZxyz(7.2850, 13.0071, 2.9907)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287418 #641874
analogous
#567418 #287418 #187436
triadic
#287418 #182874 #741828
tetradic
#287418 #185674 #641874 #743618
square
#287418 #185674 #641874 #743618
split-complementary
#287418 #361874 #741856
monochromatic
#091905 #17410E #287418 #39A722 #4ED532

Accessibility & contrast

On white

5.83
#287418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#287418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287418
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287418#FFFFFF#000000##FFFFFF
##2874181.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#1C7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287418;
/* rgb */ color: rgb(40, 116, 24);
/* oklch */ color: oklch(49.3% 0.145 140.6);
Tailwind
colors: {
  custom: {
    50: '#6d9d5c',
    500: '#287418',
    950: '#000000',
  },
}
SCSS
$custom: #287418;
$custom-light: #6d9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287418",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 109.565,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.14501,
    "h": 140.6
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#287418
secondary
#973FA9
accent
#3FE9CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287418

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

Preview Lab → · Contrast checker → · Palette generator →

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