#286F32#286F32

#286F32 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.118 H 146.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#286F32
RGBrgb(40, 111, 50)
HSLhsl(128, 47%, 30%)
HSVhsv(128, 64%, 44%)
CMYKcmyk(64%, 0%, 55%, 56.5%)
CIE-LABlab(41.29, -36.04, 27.32)
CIE-LCHlch(41.29, 45.23, 142.83°)
OKLaboklab(48.18% -0.0975 0.0657)
OKLCHoklch(48.18% 0.118 146)
XYZxyz(7.1348, 12.0496, 4.9668)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F32 #6F2865
analogous
#416F28 #286F32 #286F56
triadic
#286F32 #32286F #6F3228
tetradic
#286F32 #28416F #6F2865 #6F5628
square
#286F32 #28416F #6F2865 #6F5628
split-complementary
#286F32 #56286F #6F2841
monochromatic
#08160A #18421E #286F32 #389C46 #51C061

Accessibility & contrast

On white

6.16
#286F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#286F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F32
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F32#FFFFFF#000000##FFFFFF
##286F321.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71652D
Deuteranopia (green-blind)
#685F36
Tritanopia (blue-blind)
#176C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f32;
/* rgb */ color: rgb(40, 111, 50);
/* oklch */ color: oklch(48.2% 0.118 146.0);
Tailwind
colors: {
  custom: {
    50: '#6a996b',
    500: '#286f32',
    950: '#000000',
  },
}
SCSS
$custom: #286f32;
$custom-light: #6a996b;
$custom-dark: #000000;
JSON
{
  "hex": "#286f32",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 50
  },
  "hsl": {
    "h": 128.451,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.11757,
    "h": 146
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#286F32
secondary
#A15196
accent
#51C4D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F32

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

Preview Lab → · Contrast checker → · Palette generator →

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