#286128#286128

#286128 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.107 H 143.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#286128
RGBrgb(40, 97, 40)
HSLhsl(120, 42%, 27%)
HSVhsv(120, 59%, 38%)
CMYKcmyk(58.8%, 0%, 58.8%, 62%)
CIE-LABlab(36.28, -31.56, 26.65)
CIE-LCHlch(36.28, 41.31, 139.82°)
OKLaboklab(44% -0.0858 0.0635)
OKLCHoklch(44% 0.107 143.5)
XYZxyz(5.5325, 9.1532, 3.4823)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286128 #612861
analogous
#456128 #286128 #286145
triadic
#286128 #282861 #612828
tetradic
#286128 #284561 #612861 #614528
square
#286128 #284561 #612861 #614528
split-complementary
#286128 #452861 #612845
monochromatic
#091609 #163616 #286128 #3A8C3A #4EB64E

Accessibility & contrast

On white

7.42
#286128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#286128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286128
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286128#FFFFFF#000000##FFFFFF
##2861281.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635823
Deuteranopia (green-blind)
#5C532C
Tritanopia (blue-blind)
#1F5E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #286128;
/* rgb */ color: rgb(40, 97, 40);
/* oklch */ color: oklch(44.0% 0.107 143.5);
Tailwind
colors: {
  custom: {
    50: '#688e64',
    500: '#286128',
    950: '#000000',
  },
}
SCSS
$custom: #286128;
$custom-light: #688e64;
$custom-dark: #000000;
JSON
{
  "hex": "#286128",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44004,
    "c": 0.10671,
    "h": 143.5
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#286128
secondary
#945194
accent
#56D1D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #286128

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

Preview Lab → · Contrast checker → · Palette generator →

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