#286328#286328

#286328 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.110 H 143.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#286328
RGBrgb(40, 99, 40)
HSLhsl(120, 42%, 27%)
HSVhsv(120, 60%, 39%)
CMYKcmyk(59.6%, 0%, 59.6%, 61.2%)
CIE-LABlab(36.98, -32.43, 27.48)
CIE-LCHlch(36.98, 42.51, 139.72°)
OKLaboklab(44.58% -0.0881 0.0653)
OKLCHoklch(44.58% 0.11 143.5)
XYZxyz(5.7196, 9.5275, 3.5447)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286328 #632863
analogous
#466328 #286328 #286346
triadic
#286328 #282863 #632828
tetradic
#286328 #284663 #632863 #634628
square
#286328 #284663 #632863 #634628
split-complementary
#286328 #462863 #632846
monochromatic
#091609 #163716 #286328 #3A8F3A #4EB74E

Accessibility & contrast

On white

7.23
#286328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#286328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286328
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286328#FFFFFF#000000##FFFFFF
##2863281.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#5D552C
Tritanopia (blue-blind)
#1E6056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286328;
/* rgb */ color: rgb(40, 99, 40);
/* oklch */ color: oklch(44.6% 0.110 143.5);
Tailwind
colors: {
  custom: {
    50: '#689064',
    500: '#286328',
    950: '#000000',
  },
}
SCSS
$custom: #286328;
$custom-light: #689064;
$custom-dark: #000000;
JSON
{
  "hex": "#286328",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44582,
    "c": 0.1097,
    "h": 143.5
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#286328
secondary
#965196
accent
#56D2D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #286328

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

Preview Lab → · Contrast checker → · Palette generator →

#286328 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva