#287015#287015

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

Color values

HEX#287015
RGBrgb(40, 112, 21)
HSLhsl(107, 68%, 26%)
HSVhsv(107, 81%, 44%)
CMYKcmyk(64.3%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.36, -39.65, 40.69)
CIE-LCHlch(41.36, 56.81, 134.25°)
OKLaboklab(48.15% -0.1088 0.0909)
OKLCHoklch(48.15% 0.142 140.1)
XYZxyz(6.8043, 12.0930, 2.6849)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287015 #5D1570
analogous
#557015 #287015 #15702F
triadic
#287015 #152870 #701528
tetradic
#287015 #155570 #5D1570 #702F15
square
#287015 #155570 #5D1570 #702F15
split-complementary
#287015 #2F1570 #701555
monochromatic
#091A05 #163C0B #287015 #3AA41F #4DD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287015#FFFFFF#000000##FFFFFF
##2870151.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)
#736500
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#1E6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287015;
/* rgb */ color: rgb(40, 112, 21);
/* oklch */ color: oklch(48.1% 0.142 140.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a5a',
    500: '#287015',
    950: '#000000',
  },
}
SCSS
$custom: #287015;
$custom-light: #6c9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#287015",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 107.473,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.14174,
    "h": 140.1
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#287015
secondary
#903BA6
accent
#3DEBC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287015

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

Preview Lab → · Contrast checker → · Palette generator →

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