#28673B#28673B

#28673B is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.096 H 150.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#28673B
RGBrgb(40, 103, 59)
HSLhsl(138, 44%, 28%)
HSVhsv(138, 61%, 40%)
CMYKcmyk(61.2%, 0%, 42.7%, 59.6%)
CIE-LABlab(38.67, -31.02, 18.94)
CIE-LCHlch(38.67, 36.34, 148.59°)
OKLaboklab(46.06% -0.084 0.047)
OKLCHoklch(46.06% 0.096 150.8)
XYZxyz(6.5143, 10.4668, 5.8138)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28673B #672854
analogous
#346728 #28673B #28675A
triadic
#28673B #3B2867 #673B28
tetradic
#28673B #283467 #672854 #675A28
square
#28673B #283467 #672854 #675A28
split-complementary
#28673B #5A2867 #672834
monochromatic
#09160D #173B22 #28673B #399354 #4FBB6F

Accessibility & contrast

On white

6.79
#28673B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#28673B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28673B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28673B#FFFFFF#000000##FFFFFF
##28673B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F38
Deuteranopia (green-blind)
#5F593E
Tritanopia (blue-blind)
#17655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28673b;
/* rgb */ color: rgb(40, 103, 59);
/* oklch */ color: oklch(46.1% 0.096 150.8);
Tailwind
colors: {
  custom: {
    50: '#699371',
    500: '#28673b',
    950: '#000000',
  },
}
SCSS
$custom: #28673b;
$custom-light: #699371;
$custom-dark: #000000;
JSON
{
  "hex": "#28673b",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 59
  },
  "hsl": {
    "h": 138.095,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.09622,
    "h": 150.8
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#28673B
secondary
#9A5184
accent
#54ADD4
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #28673B

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

Preview Lab → · Contrast checker → · Palette generator →

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