#286628#286628

#286628 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.4% C 0.114 H 143.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#286628
RGBrgb(40, 102, 40)
HSLhsl(120, 44%, 28%)
HSVhsv(120, 61%, 40%)
CMYKcmyk(60.8%, 0%, 60.8%, 60%)
CIE-LABlab(38.03, -33.71, 28.72)
CIE-LCHlch(38.03, 44.29, 139.57°)
OKLaboklab(45.45% -0.0916 0.068)
OKLCHoklch(45.45% 0.114 143.4)
XYZxyz(6.0091, 10.1065, 3.6412)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286628 #662866
analogous
#476628 #286628 #286647
triadic
#286628 #282866 #662828
tetradic
#286628 #284766 #662866 #664728
square
#286628 #284766 #662866 #664728
split-complementary
#286628 #472866 #662847
monochromatic
#091609 #173A17 #286628 #399239 #4FBA4F

Accessibility & contrast

On white

6.95
#286628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#286628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286628
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286628#FFFFFF#000000##FFFFFF
##2866281.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#1E6358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286628;
/* rgb */ color: rgb(40, 102, 40);
/* oklch */ color: oklch(45.4% 0.114 143.4);
Tailwind
colors: {
  custom: {
    50: '#699264',
    500: '#286628',
    950: '#000000',
  },
}
SCSS
$custom: #286628;
$custom-light: #699264;
$custom-dark: #000000;
JSON
{
  "hex": "#286628",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.1141,
    "h": 143.4
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#286628
secondary
#995199
accent
#54D3D3
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286628

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

Preview Lab → · Contrast checker → · Palette generator →

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