#287019#287019

#287019 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.139 H 140.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#287019
RGBrgb(40, 112, 25)
HSLhsl(110, 64%, 27%)
HSVhsv(110, 78%, 44%)
CMYKcmyk(64.3%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.39, -39.35, 39.25)
CIE-LCHlch(41.39, 55.57, 135.07°)
OKLaboklab(48.17% -0.1077 0.0885)
OKLCHoklch(48.17% 0.139 140.6)
XYZxyz(6.8444, 12.1090, 2.8961)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287019 #611970
analogous
#547019 #287019 #197036
triadic
#287019 #192870 #701928
tetradic
#287019 #195470 #611970 #703619
square
#287019 #195470 #611970 #703619
split-complementary
#287019 #361970 #701954
monochromatic
#091906 #163E0E #287019 #3AA224 #4ED132

Accessibility & contrast

On white

6.14
#287019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#287019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287019
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287019#FFFFFF#000000##FFFFFF
##2870191.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#1D6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287019;
/* rgb */ color: rgb(40, 112, 25);
/* oklch */ color: oklch(48.2% 0.139 140.6);
Tailwind
colors: {
  custom: {
    50: '#6c9a5c',
    500: '#287019',
    950: '#000000',
  },
}
SCSS
$custom: #287019;
$custom-light: #6c9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287019",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 109.655,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.1394,
    "h": 140.6
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#287019
secondary
#9440A5
accent
#41E7CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #287019

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

Preview Lab → · Contrast checker → · Palette generator →

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