#287819#287819

#287819 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.149 H 140.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#287819
RGBrgb(40, 120, 25)
HSLhsl(111, 66%, 28%)
HSVhsv(111, 79%, 47%)
CMYKcmyk(66.7%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.17, -42.37, 41.99)
CIE-LCHlch(44.17, 59.65, 135.25°)
OKLaboklab(50.47% -0.1159 0.0942)
OKLCHoklch(50.47% 0.149 140.9)
XYZxyz(7.7666, 13.9535, 3.2035)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287819 #691978
analogous
#577819 #287819 #197839
triadic
#287819 #192878 #781928
tetradic
#287819 #195778 #691978 #783919
square
#287819 #195778 #691978 #783919
split-complementary
#287819 #391978 #781957
monochromatic
#081905 #17450E #287819 #39AB24 #4FD536

Accessibility & contrast

On white

5.54
#287819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#287819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287819
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287819#FFFFFF#000000##FFFFFF
##2878191.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#1A7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287819;
/* rgb */ color: rgb(40, 120, 25);
/* oklch */ color: oklch(50.5% 0.149 140.9);
Tailwind
colors: {
  custom: {
    50: '#6ea05d',
    500: '#287819',
    950: '#000000',
  },
}
SCSS
$custom: #287819;
$custom-light: #6ea05d;
$custom-dark: #000000;
JSON
{
  "hex": "#287819",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 110.526,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.14935,
    "h": 140.9
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#287819
secondary
#9C40AD
accent
#3FE8CE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #287819

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

Preview Lab → · Contrast checker → · Palette generator →

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