#28682A#28682A

#28682A is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.115 H 143.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#28682A
RGBrgb(40, 104, 42)
HSLhsl(122, 44%, 28%)
HSVhsv(122, 62%, 41%)
CMYKcmyk(61.5%, 0%, 59.6%, 59.2%)
CIE-LABlab(38.76, -34.28, 28.53)
CIE-LCHlch(38.76, 44.60, 140.23°)
OKLaboklab(46.05% -0.0931 0.0678)
OKLCHoklch(46.05% 0.115 143.9)
XYZxyz(6.2429, 10.5183, 3.8913)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28682A #682866
analogous
#466828 #28682A #28684A
triadic
#28682A #2A2868 #682A28
tetradic
#28682A #284668 #682866 #684A28
square
#28682A #284668 #682866 #684A28
split-complementary
#28682A #4A2868 #682846
monochromatic
#091609 #173C18 #28682A #39943C #4FBB52

Accessibility & contrast

On white

6.77
#28682A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#28682A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28682A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28682A#FFFFFF#000000##FFFFFF
##28682A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F24
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#1C655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28682a;
/* rgb */ color: rgb(40, 104, 42);
/* oklch */ color: oklch(46.1% 0.115 143.9);
Tailwind
colors: {
  custom: {
    50: '#699465',
    500: '#28682a',
    950: '#000000',
  },
}
SCSS
$custom: #28682a;
$custom-light: #699465;
$custom-dark: #000000;
JSON
{
  "hex": "#28682a",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 42
  },
  "hsl": {
    "h": 121.875,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.11512,
    "h": 143.9
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#28682A
secondary
#9B5198
accent
#54D0D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #28682A

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

Preview Lab → · Contrast checker → · Palette generator →

#28682A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva