#287415#287415

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

Color values

HEX#287415
RGBrgb(40, 116, 21)
HSLhsl(108, 69%, 27%)
HSVhsv(108, 82%, 45%)
CMYKcmyk(65.5%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.76, -41.16, 42.02)
CIE-LCHlch(42.76, 58.82, 134.40°)
OKLaboklab(49.3% -0.1129 0.0937)
OKLCHoklch(49.3% 0.147 140.3)
XYZxyz(7.2555, 12.9953, 2.8353)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287415 #611574
analogous
#587415 #287415 #157432
triadic
#287415 #152874 #741528
tetradic
#287415 #155874 #611574 #743215
square
#287415 #155874 #611574 #743215
split-complementary
#287415 #321574 #741558
monochromatic
#091A05 #16400C #287415 #3AA81E #4ED92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287415#FFFFFF#000000##FFFFFF
##2874151.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)
#776900
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#1C7062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287415;
/* rgb */ color: rgb(40, 116, 21);
/* oklch */ color: oklch(49.3% 0.147 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d9d5b',
    500: '#287415',
    950: '#000000',
  },
}
SCSS
$custom: #287415;
$custom-light: #6d9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287415",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 108,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.14666,
    "h": 140.3
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#287415
secondary
#943BAA
accent
#3CECC9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287415

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

Preview Lab → · Contrast checker → · Palette generator →

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