#287111#287111

#287111 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.145 H 139.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#287111
RGBrgb(40, 113, 17)
HSLhsl(106, 74%, 25%)
HSVhsv(106, 85%, 44%)
CMYKcmyk(64.6%, 0%, 85%, 55.7%)
CIE-LABlab(41.69, -40.28, 42.31)
CIE-LCHlch(41.69, 58.41, 133.59°)
OKLaboklab(48.41% -0.1107 0.0936)
OKLCHoklch(48.41% 0.145 139.8)
XYZxyz(6.8811, 12.3012, 2.5420)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287111 #5A1171
analogous
#587111 #287111 #11712A
triadic
#287111 #112871 #711128
tetradic
#287111 #115871 #5A1171 #712A11
square
#287111 #115871 #5A1171 #712A11
split-complementary
#287111 #2A1171 #711158
monochromatic
#091B04 #153C09 #287111 #3BA619 #4EDB21

Accessibility & contrast

On white

6.07
#287111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#287111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287111
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287111#FFFFFF#000000##FFFFFF
##2871111.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#1E6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287111;
/* rgb */ color: rgb(40, 113, 17);
/* oklch */ color: oklch(48.4% 0.145 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d9b59',
    500: '#287111',
    950: '#000000',
  },
}
SCSS
$custom: #287111;
$custom-light: #6d9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#287111",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 105.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.14499,
    "h": 139.8
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#287111
secondary
#8D36A8
accent
#37F1C4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287111

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

Preview Lab → · Contrast checker → · Palette generator →

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