#28672F#28672F

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

Color values

HEX#28672F
RGBrgb(40, 103, 47)
HSLhsl(127, 44%, 28%)
HSVhsv(127, 61%, 40%)
CMYKcmyk(61.2%, 0%, 54.4%, 59.6%)
CIE-LABlab(38.47, -33.12, 25.50)
CIE-LCHlch(38.47, 41.80, 142.40°)
OKLaboklab(45.84% -0.0897 0.0615)
OKLCHoklch(45.84% 0.109 145.6)
XYZxyz(6.2380, 10.3563, 4.3590)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28672F #672860
analogous
#406728 #28672F #28674E
triadic
#28672F #2F2867 #672F28
tetradic
#28672F #284067 #672860 #674E28
square
#28672F #284067 #672860 #674E28
split-complementary
#28672F #4E2867 #672840
monochromatic
#09160A #173B1B #28672F #399343 #4FBB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28672F#FFFFFF#000000##FFFFFF
##28672F1.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)
#695E2A
Deuteranopia (green-blind)
#605833
Tritanopia (blue-blind)
#1B645A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28672f;
/* rgb */ color: rgb(40, 103, 47);
/* oklch */ color: oklch(45.8% 0.109 145.6);
Tailwind
colors: {
  custom: {
    50: '#699369',
    500: '#28672f',
    950: '#000000',
  },
}
SCSS
$custom: #28672f;
$custom-light: #699369;
$custom-dark: #000000;
JSON
{
  "hex": "#28672f",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 47
  },
  "hsl": {
    "h": 126.667,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.10874,
    "h": 145.6
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28672F

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

Preview Lab → · Contrast checker → · Palette generator →

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