#286E2D#286E2D

#286E2D is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.121 H 144.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#286E2D
RGBrgb(40, 110, 45)
HSLhsl(124, 47%, 29%)
HSVhsv(124, 64%, 43%)
CMYKcmyk(63.6%, 0%, 59.1%, 56.9%)
CIE-LABlab(40.88, -36.36, 29.48)
CIE-LCHlch(40.88, 46.81, 140.97°)
OKLaboklab(47.82% -0.0985 0.0701)
OKLCHoklch(47.82% 0.121 144.6)
XYZxyz(6.9242, 11.7918, 4.3933)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E2D #6E2869
analogous
#466E28 #286E2D #286E50
triadic
#286E2D #2D286E #6E2D28
tetradic
#286E2D #28466E #6E2869 #6E5028
square
#286E2D #28466E #6E2869 #6E5028
split-complementary
#286E2D #50286E #6E2846
monochromatic
#081609 #18411B #286E2D #389B3F #51C059

Accessibility & contrast

On white

6.25
#286E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#286E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E2D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E2D#FFFFFF#000000##FFFFFF
##286E2D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#196B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e2d;
/* rgb */ color: rgb(40, 110, 45);
/* oklch */ color: oklch(47.8% 0.121 144.6);
Tailwind
colors: {
  custom: {
    50: '#6a9868',
    500: '#286e2d',
    950: '#000000',
  },
}
SCSS
$custom: #286e2d;
$custom-light: #6a9868;
$custom-dark: #000000;
JSON
{
  "hex": "#286e2d",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 124.286,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.12092,
    "h": 144.6
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#286E2D
secondary
#A0519B
accent
#51CDD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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