#287A1E#287A1E

#287A1E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.149 H 141.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#287A1E
RGBrgb(40, 122, 30)
HSLhsl(113, 61%, 30%)
HSVhsv(113, 75%, 48%)
CMYKcmyk(67.2%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.89, -42.71, 40.82)
CIE-LCHlch(44.89, 59.08, 136.29°)
OKLaboklab(51.08% -0.1165 0.0925)
OKLCHoklch(51.08% 0.149 141.6)
XYZxyz(8.0685, 14.4631, 3.5945)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A1E #701E7A
analogous
#567A1E #287A1E #1E7A42
triadic
#287A1E #1E287A #7A1E28
tetradic
#287A1E #1E567A #701E7A #7A421E
square
#287A1E #1E567A #701E7A #7A421E
split-complementary
#287A1E #421E7A #7A1E56
monochromatic
#081906 #184912 #287A1E #38AB2A #51D042

Accessibility & contrast

On white

5.39
#287A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#287A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A1E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A1E#FFFFFF#000000##FFFFFF
##287A1E1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#187668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287a1e;
/* rgb */ color: rgb(40, 122, 30);
/* oklch */ color: oklch(51.1% 0.149 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ea160',
    500: '#287a1e',
    950: '#000000',
  },
}
SCSS
$custom: #287a1e;
$custom-light: #6ea160;
$custom-dark: #000000;
JSON
{
  "hex": "#287a1e",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 113.478,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.14878,
    "h": 141.6
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#287A1E
secondary
#A246AE
accent
#44E4D2
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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