#28682F#28682F

#28682F is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.110 H 145.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#28682F
RGBrgb(40, 104, 47)
HSLhsl(127, 44%, 28%)
HSVhsv(127, 62%, 41%)
CMYKcmyk(61.5%, 0%, 54.8%, 59.2%)
CIE-LABlab(38.82, -33.55, 25.93)
CIE-LCHlch(38.82, 42.40, 142.30°)
OKLaboklab(46.13% -0.0909 0.0624)
OKLCHoklch(46.13% 0.11 145.5)
XYZxyz(6.3381, 10.5564, 4.3924)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28682F #682861
analogous
#416828 #28682F #28684F
triadic
#28682F #2F2868 #682F28
tetradic
#28682F #284168 #682861 #684F28
square
#28682F #284168 #682861 #684F28
split-complementary
#28682F #4F2868 #682841
monochromatic
#09160A #173C1B #28682F #399443 #4FBB5B

Accessibility & contrast

On white

6.75
#28682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28682F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28682F#FFFFFF#000000##FFFFFF
##28682F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#1B655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28682f;
/* rgb */ color: rgb(40, 104, 47);
/* oklch */ color: oklch(46.1% 0.110 145.5);
Tailwind
colors: {
  custom: {
    50: '#699469',
    500: '#28682f',
    950: '#000000',
  },
}
SCSS
$custom: #28682f;
$custom-light: #699469;
$custom-dark: #000000;
JSON
{
  "hex": "#28682f",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 126.563,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46129,
    "c": 0.11024,
    "h": 145.5
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#28682F
secondary
#9B5193
accent
#54C6D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #28682F

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

Preview Lab → · Contrast checker → · Palette generator →

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