#287219#287219

#287219 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.142 H 140.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#287219
RGBrgb(40, 114, 25)
HSLhsl(110, 64%, 27%)
HSVhsv(110, 78%, 45%)
CMYKcmyk(64.9%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.09, -40.11, 39.94)
CIE-LCHlch(42.09, 56.61, 135.12°)
OKLaboklab(48.75% -0.1098 0.0899)
OKLCHoklch(48.75% 0.142 140.7)
XYZxyz(7.0675, 12.5553, 2.9705)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287219 #631972
analogous
#547219 #287219 #197237
triadic
#287219 #192872 #721928
tetradic
#287219 #195472 #631972 #723719
square
#287219 #195472 #631972 #723719
split-complementary
#287219 #371972 #721954
monochromatic
#091906 #16400E #287219 #3AA424 #4ED233

Accessibility & contrast

On white

5.98
#287219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#287219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287219
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287219#FFFFFF#000000##FFFFFF
##2872191.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#1D6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287219;
/* rgb */ color: rgb(40, 114, 25);
/* oklch */ color: oklch(48.8% 0.142 140.7);
Tailwind
colors: {
  custom: {
    50: '#6c9b5d',
    500: '#287219',
    950: '#000000',
  },
}
SCSS
$custom: #287219;
$custom-light: #6c9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#287219",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 109.888,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4875,
    "c": 0.14192,
    "h": 140.7
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#287219
secondary
#9640A7
accent
#41E7CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287219

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

Preview Lab → · Contrast checker → · Palette generator →

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