#28672B#28672B

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

Color values

HEX#28672B
RGBrgb(40, 103, 43)
HSLhsl(123, 44%, 28%)
HSVhsv(123, 61%, 40%)
CMYKcmyk(61.2%, 0%, 58.3%, 59.6%)
CIE-LABlab(38.42, -33.72, 27.60)
CIE-LCHlch(38.42, 43.58, 140.70°)
OKLaboklab(45.78% -0.0915 0.0658)
OKLCHoklch(45.78% 0.113 144.3)
XYZxyz(6.1610, 10.3255, 3.9534)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28672B #672864
analogous
#446728 #28672B #28674A
triadic
#28672B #2B2867 #672B28
tetradic
#28672B #284467 #672864 #674A28
square
#28672B #284467 #672864 #674A28
split-complementary
#28672B #4A2867 #672844
monochromatic
#091609 #173B19 #28672B #39933D #4FBB54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28672B#FFFFFF#000000##FFFFFF
##28672B1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28672b;
/* rgb */ color: rgb(40, 103, 43);
/* oklch */ color: oklch(45.8% 0.113 144.3);
Tailwind
colors: {
  custom: {
    50: '#699366',
    500: '#28672b',
    950: '#000000',
  },
}
SCSS
$custom: #28672b;
$custom-light: #699366;
$custom-dark: #000000;
JSON
{
  "hex": "#28672b",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 43
  },
  "hsl": {
    "h": 122.857,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.1127,
    "h": 144.3
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#28672B
secondary
#9A5196
accent
#54CED4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #28672B

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

Preview Lab → · Contrast checker → · Palette generator →

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