#28672A#28672A

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

Color values

HEX#28672A
RGBrgb(40, 103, 42)
HSLhsl(122, 44%, 28%)
HSVhsv(122, 61%, 40%)
CMYKcmyk(61.2%, 0%, 59.2%, 59.6%)
CIE-LABlab(38.41, -33.86, 28.12)
CIE-LCHlch(38.41, 44.01, 140.29°)
OKLaboklab(45.77% -0.0919 0.0669)
OKLCHoklch(45.77% 0.114 144)
XYZxyz(6.1429, 10.3182, 3.8579)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28672A #672865
analogous
#456728 #28672A #286749
triadic
#28672A #2A2867 #672A28
tetradic
#28672A #284567 #672865 #674928
square
#28672A #284567 #672865 #674928
split-complementary
#28672A #492867 #672845
monochromatic
#091609 #173B18 #28672A #39933C #4FBB52

Accessibility & contrast

On white

6.85
#28672A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#28672A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28672A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28672A#FFFFFF#000000##FFFFFF
##28672A1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E24
Deuteranopia (green-blind)
#61582F
Tritanopia (blue-blind)
#1D6459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28672a;
/* rgb */ color: rgb(40, 103, 42);
/* oklch */ color: oklch(45.8% 0.114 144.0);
Tailwind
colors: {
  custom: {
    50: '#699365',
    500: '#28672a',
    950: '#000000',
  },
}
SCSS
$custom: #28672a;
$custom-light: #699365;
$custom-dark: #000000;
JSON
{
  "hex": "#28672a",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 42
  },
  "hsl": {
    "h": 121.905,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.11366,
    "h": 144
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28672A

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

Preview Lab → · Contrast checker → · Palette generator →

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