#287E1E#287E1E

#287E1E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.154 H 141.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#287E1E
RGBrgb(40, 126, 30)
HSLhsl(114, 62%, 31%)
HSVhsv(114, 76%, 49%)
CMYKcmyk(68.3%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.27, -44.18, 42.22)
CIE-LCHlch(46.27, 61.11, 136.30°)
OKLaboklab(52.22% -0.1205 0.0954)
OKLCHoklch(52.22% 0.154 141.6)
XYZxyz(8.5698, 15.4657, 3.7616)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E1E #741E7E
analogous
#587E1E #287E1E #1E7E44
triadic
#287E1E #1E287E #7E1E28
tetradic
#287E1E #1E587E #741E7E #7E441E
square
#287E1E #1E587E #741E7E #7E441E
split-complementary
#287E1E #441E7E #7E1E58
monochromatic
#091B06 #184D12 #287E1E #38AF2A #53D244

Accessibility & contrast

On white

5.13
#287E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#287E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E1E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E1E#FFFFFF#000000##FFFFFF
##287E1E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#177A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e1e;
/* rgb */ color: rgb(40, 126, 30);
/* oklch */ color: oklch(52.2% 0.154 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa461',
    500: '#287e1e',
    950: '#000000',
  },
}
SCSS
$custom: #287e1e;
$custom-light: #6fa461;
$custom-dark: #000000;
JSON
{
  "hex": "#287e1e",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 113.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.1537,
    "h": 141.6
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#287E1E
secondary
#A647B1
accent
#43E5D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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