#28682E#28682E

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

Color values

HEX#28682E
RGBrgb(40, 104, 46)
HSLhsl(126, 44%, 28%)
HSVhsv(126, 62%, 41%)
CMYKcmyk(61.5%, 0%, 55.8%, 59.2%)
CIE-LABlab(38.81, -33.70, 26.46)
CIE-LCHlch(38.81, 42.85, 141.87°)
OKLaboklab(46.11% -0.0913 0.0635)
OKLCHoklch(46.11% 0.111 145.2)
XYZxyz(6.3181, 10.5484, 4.2873)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28682E #682862
analogous
#426828 #28682E #28684E
triadic
#28682E #2E2868 #682E28
tetradic
#28682E #284268 #682862 #684E28
square
#28682E #284268 #682862 #684E28
split-complementary
#28682E #4E2868 #682842
monochromatic
#09160A #173C1A #28682E #399442 #4FBB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28682E#FFFFFF#000000##FFFFFF
##28682E1.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)
#6A5F29
Deuteranopia (green-blind)
#615932
Tritanopia (blue-blind)
#1B655B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28682e;
/* rgb */ color: rgb(40, 104, 46);
/* oklch */ color: oklch(46.1% 0.111 145.2);
Tailwind
colors: {
  custom: {
    50: '#699468',
    500: '#28682e',
    950: '#000000',
  },
}
SCSS
$custom: #28682e;
$custom-light: #699468;
$custom-dark: #000000;
JSON
{
  "hex": "#28682e",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 46
  },
  "hsl": {
    "h": 125.625,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.11123,
    "h": 145.2
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#28682E
secondary
#9B5194
accent
#54C8D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #28682E

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

Preview Lab → · Contrast checker → · Palette generator →

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