#287E11#287E11

#287E11 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.160 H 140.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#287E11
RGBrgb(40, 126, 17)
HSLhsl(107, 76%, 28%)
HSVhsv(107, 87%, 49%)
CMYKcmyk(68.3%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.19, -45.04, 46.42)
CIE-LCHlch(46.19, 64.68, 134.13°)
OKLaboklab(52.14% -0.1235 0.1023)
OKLCHoklch(52.14% 0.16 140.4)
XYZxyz(8.4367, 15.4124, 3.0605)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E11 #67117E
analogous
#5F7E11 #287E11 #117E30
triadic
#287E11 #11287E #7E1128
tetradic
#287E11 #115F7E #67117E #7E3011
square
#287E11 #115F7E #67117E #7E3011
split-complementary
#287E11 #30117E #7E115F
monochromatic
#091B04 #17480A #287E11 #39B418 #4FE227

Accessibility & contrast

On white

5.14
#287E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#287E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E11
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E11#FFFFFF#000000##FFFFFF
##287E111.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#197A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287e11;
/* rgb */ color: rgb(40, 126, 17);
/* oklch */ color: oklch(52.1% 0.160 140.4);
Tailwind
colors: {
  custom: {
    50: '#6fa45b',
    500: '#287e11',
    950: '#000000',
  },
}
SCSS
$custom: #287e11;
$custom-light: #6fa45b;
$custom-dark: #000000;
JSON
{
  "hex": "#287e11",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 107.339,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.16034,
    "h": 140.4
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#287E11
secondary
#9A37B4
accent
#35F3CB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287E11

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

Preview Lab → · Contrast checker → · Palette generator →

#287E11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva