#286B31#286B31

#286B31 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.113 H 146.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#286B31
RGBrgb(40, 107, 49)
HSLhsl(128, 46%, 29%)
HSVhsv(128, 63%, 42%)
CMYKcmyk(62.6%, 0%, 54.2%, 58%)
CIE-LABlab(39.89, -34.52, 26.15)
CIE-LCHlch(39.89, 43.30, 142.85°)
OKLaboklab(47.02% -0.0934 0.063)
OKLCHoklch(47.02% 0.113 146)
XYZxyz(6.6867, 11.1876, 4.7122)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B31 #6B2862
analogous
#416B28 #286B31 #286B53
triadic
#286B31 #31286B #6B3128
tetradic
#286B31 #28416B #6B2862 #6B5328
square
#286B31 #28416B #6B2862 #6B5328
split-complementary
#286B31 #53286B #6B2841
monochromatic
#08160A #173E1D #286B31 #399845 #50BE5F

Accessibility & contrast

On white

6.49
#286B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#286B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B31
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B31#FFFFFF#000000##FFFFFF
##286B311.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622C
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#19685E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b31;
/* rgb */ color: rgb(40, 107, 49);
/* oklch */ color: oklch(47.0% 0.113 146.0);
Tailwind
colors: {
  custom: {
    50: '#6a966a',
    500: '#286b31',
    950: '#000000',
  },
}
SCSS
$custom: #286b31;
$custom-light: #6a966a;
$custom-dark: #000000;
JSON
{
  "hex": "#286b31",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 49
  },
  "hsl": {
    "h": 128.06,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.1127,
    "h": 146
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#286B31
secondary
#9D5193
accent
#53C4D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B31

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

Preview Lab → · Contrast checker → · Palette generator →

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