#287319#287319

#287319 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.143 H 140.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#287319
RGBrgb(40, 115, 25)
HSLhsl(110, 64%, 27%)
HSVhsv(110, 78%, 45%)
CMYKcmyk(65.2%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.43, -40.49, 40.28)
CIE-LCHlch(42.43, 57.12, 135.15°)
OKLaboklab(49.04% -0.1108 0.0906)
OKLCHoklch(49.04% 0.143 140.7)
XYZxyz(7.1809, 12.7821, 3.0083)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287319 #641973
analogous
#557319 #287319 #197337
triadic
#287319 #192873 #731928
tetradic
#287319 #195573 #641973 #733719
square
#287319 #195573 #641973 #733719
split-complementary
#287319 #371973 #731955
monochromatic
#091905 #17410E #287319 #39A524 #4ED334

Accessibility & contrast

On white

5.90
#287319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#287319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287319
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287319#FFFFFF#000000##FFFFFF
##2873191.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#1C6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287319;
/* rgb */ color: rgb(40, 115, 25);
/* oklch */ color: oklch(49.0% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9c5d',
    500: '#287319',
    950: '#000000',
  },
}
SCSS
$custom: #287319;
$custom-light: #6d9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#287319",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 110,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49038,
    "c": 0.14318,
    "h": 140.7
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#287319
secondary
#9740A8
accent
#41E7CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287319

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

Preview Lab → · Contrast checker → · Palette generator →

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