#286D35#286D35

#286D35 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.7% C 0.112 H 147.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#286D35
RGBrgb(40, 109, 53)
HSLhsl(131, 46%, 29%)
HSVhsv(131, 63%, 43%)
CMYKcmyk(63.3%, 0%, 51.4%, 57.3%)
CIE-LABlab(40.65, -34.72, 24.89)
CIE-LCHlch(40.65, 42.72, 144.37°)
OKLaboklab(47.66% -0.0939 0.0604)
OKLCHoklch(47.66% 0.112 147.2)
XYZxyz(6.9858, 11.6448, 5.2470)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D35 #6D2860
analogous
#3E6D28 #286D35 #286D58
triadic
#286D35 #35286D #6D3528
tetradic
#286D35 #283E6D #6D2860 #6D5828
square
#286D35 #283E6D #6D2860 #6D5828
split-complementary
#286D35 #58286D #6D283E
monochromatic
#08160B #18401F #286D35 #389A4B #50BF65

Accessibility & contrast

On white

6.31
#286D35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#286D35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D35
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D35#FFFFFF#000000##FFFFFF
##286D351.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6430
Deuteranopia (green-blind)
#655D39
Tritanopia (blue-blind)
#176B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286d35;
/* rgb */ color: rgb(40, 109, 53);
/* oklch */ color: oklch(47.7% 0.112 147.2);
Tailwind
colors: {
  custom: {
    50: '#6a976d',
    500: '#286d35',
    950: '#000000',
  },
}
SCSS
$custom: #286d35;
$custom-light: #6a976d;
$custom-dark: #000000;
JSON
{
  "hex": "#286d35",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 53
  },
  "hsl": {
    "h": 131.304,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.11164,
    "h": 147.2
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#286D35
secondary
#9F5191
accent
#52BDD6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #286D35

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

Preview Lab → · Contrast checker → · Palette generator →

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