#28672D#28672D

#28672D is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.111 H 144.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#28672D
RGBrgb(40, 103, 45)
HSLhsl(125, 44%, 28%)
HSVhsv(125, 61%, 40%)
CMYKcmyk(61.2%, 0%, 56.3%, 59.6%)
CIE-LABlab(38.45, -33.43, 26.56)
CIE-LCHlch(38.45, 42.69, 141.53°)
OKLaboklab(45.81% -0.0906 0.0637)
OKLCHoklch(45.81% 0.111 144.9)
XYZxyz(6.1986, 10.3405, 4.1514)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28672D #672862
analogous
#426728 #28672D #28674C
triadic
#28672D #2D2867 #672D28
tetradic
#28672D #284267 #672862 #674C28
square
#28672D #284267 #672862 #674C28
split-complementary
#28672D #4C2867 #672842
monochromatic
#09160A #173B1A #28672D #399340 #4FBB57

Accessibility & contrast

On white

6.84
#28672D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#28672D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28672D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28672D#FFFFFF#000000##FFFFFF
##28672D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E28
Deuteranopia (green-blind)
#615831
Tritanopia (blue-blind)
#1C645A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28672d;
/* rgb */ color: rgb(40, 103, 45);
/* oklch */ color: oklch(45.8% 0.111 144.9);
Tailwind
colors: {
  custom: {
    50: '#699367',
    500: '#28672d',
    950: '#000000',
  },
}
SCSS
$custom: #28672d;
$custom-light: #699367;
$custom-dark: #000000;
JSON
{
  "hex": "#28672d",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 45
  },
  "hsl": {
    "h": 124.762,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.11074,
    "h": 144.9
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28672D

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

Preview Lab → · Contrast checker → · Palette generator →

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