#28673C#28673C

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

Color values

HEX#28673C
RGBrgb(40, 103, 60)
HSLhsl(139, 44%, 28%)
HSVhsv(139, 61%, 40%)
CMYKcmyk(61.2%, 0%, 41.7%, 59.6%)
CIE-LABlab(38.69, -30.82, 18.38)
CIE-LCHlch(38.69, 35.89, 149.19°)
OKLaboklab(46.08% -0.0835 0.0457)
OKLCHoklch(46.08% 0.095 151.3)
XYZxyz(6.5404, 10.4772, 5.9517)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28673C #672853
analogous
#336728 #28673C #28675B
triadic
#28673C #3C2867 #673C28
tetradic
#28673C #283367 #672853 #675B28
square
#28673C #283367 #672853 #675B28
split-complementary
#28673C #5B2867 #672833
monochromatic
#09160D #173B22 #28673C #399356 #4FBB71

Accessibility & contrast

On white

6.78
#28673C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#28673C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28673C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28673C#FFFFFF#000000##FFFFFF
##28673C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F39
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#16655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28673c;
/* rgb */ color: rgb(40, 103, 60);
/* oklch */ color: oklch(46.1% 0.095 151.3);
Tailwind
colors: {
  custom: {
    50: '#699372',
    500: '#28673c',
    950: '#000000',
  },
}
SCSS
$custom: #28673c;
$custom-light: #699372;
$custom-dark: #000000;
JSON
{
  "hex": "#28673c",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 60
  },
  "hsl": {
    "h": 139.048,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.09516,
    "h": 151.3
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#28673C
secondary
#9A5183
accent
#54ABD4
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #28673C

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

Preview Lab → · Contrast checker → · Palette generator →

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