#28682D#28682D

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

Color values

HEX#28682D
RGBrgb(40, 104, 45)
HSLhsl(125, 44%, 28%)
HSVhsv(125, 62%, 41%)
CMYKcmyk(61.5%, 0%, 56.7%, 59.2%)
CIE-LABlab(38.80, -33.85, 26.98)
CIE-LCHlch(38.80, 43.29, 141.44°)
OKLaboklab(46.1% -0.0918 0.0646)
OKLCHoklch(46.1% 0.112 144.9)
XYZxyz(6.2987, 10.5406, 4.1847)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28682D #682863
analogous
#436828 #28682D #28684D
triadic
#28682D #2D2868 #682D28
tetradic
#28682D #284368 #682863 #684D28
square
#28682D #284368 #682863 #684D28
split-complementary
#28682D #4D2868 #682843
monochromatic
#09160A #173C1A #28682D #399440 #4FBB58

Accessibility & contrast

On white

6.76
#28682D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#28682D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28682D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28682D#FFFFFF#000000##FFFFFF
##28682D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F28
Deuteranopia (green-blind)
#625931
Tritanopia (blue-blind)
#1C655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28682d;
/* rgb */ color: rgb(40, 104, 45);
/* oklch */ color: oklch(46.1% 0.112 144.9);
Tailwind
colors: {
  custom: {
    50: '#699467',
    500: '#28682d',
    950: '#000000',
  },
}
SCSS
$custom: #28682d;
$custom-light: #699467;
$custom-dark: #000000;
JSON
{
  "hex": "#28682d",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 45
  },
  "hsl": {
    "h": 124.688,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.11223,
    "h": 144.9
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#28682D
secondary
#9B5195
accent
#54CAD4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #28682D

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

Preview Lab → · Contrast checker → · Palette generator →

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