#286E1F#286E1F

#286E1F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.133 H 141.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#286E1F
RGBrgb(40, 110, 31)
HSLhsl(113, 56%, 28%)
HSVhsv(113, 72%, 43%)
CMYKcmyk(63.6%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.74, -38.03, 36.09)
CIE-LCHlch(40.74, 52.43, 136.50°)
OKLaboklab(47.65% -0.1038 0.0827)
OKLCHoklch(47.65% 0.133 141.5)
XYZxyz(6.6980, 11.7013, 3.2017)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E1F #651F6E
analogous
#4F6E1F #286E1F #1F6E3E
triadic
#286E1F #1F286E #6E1F28
tetradic
#286E1F #1F4F6E #651F6E #6E3E1F
square
#286E1F #1F4F6E #651F6E #6E3E1F
split-complementary
#286E1F #3E1F6E #6E1F4F
monochromatic
#091807 #173E12 #286E1F #399E2C #4EC93F

Accessibility & contrast

On white

6.29
#286E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#286E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E1F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E1F#FFFFFF#000000##FFFFFF
##286E1F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#1D6A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e1f;
/* rgb */ color: rgb(40, 110, 31);
/* oklch */ color: oklch(47.6% 0.133 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b985f',
    500: '#286e1f',
    950: '#000000',
  },
}
SCSS
$custom: #286e1f;
$custom-light: #6b985f;
$custom-dark: #000000;
JSON
{
  "hex": "#286e1f",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 113.165,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.13274,
    "h": 141.5
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#286E1F
secondary
#9847A2
accent
#48DFCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#286E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva