#28671C#28671C

#28671C is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.126 H 140.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#28671C
RGBrgb(40, 103, 28)
HSLhsl(110, 57%, 26%)
HSVhsv(110, 73%, 40%)
CMYKcmyk(61.2%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.26, -35.52, 34.79)
CIE-LCHlch(38.26, 49.72, 135.59°)
OKLaboklab(45.6% -0.0972 0.0796)
OKLCHoklch(45.6% 0.126 140.7)
XYZxyz(5.9346, 10.2349, 2.7612)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28671C #5B1C67
analogous
#4D671C #28671C #1C6735
triadic
#28671C #1C2867 #671C28
tetradic
#28671C #1C4D67 #5B1C67 #67351C
square
#28671C #1C4D67 #5B1C67 #67351C
split-complementary
#28671C #351C67 #671C4D
monochromatic
#091807 #15370F #28671C #3B9729 #4DC736

Accessibility & contrast

On white

6.89
#28671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#28671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28671C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28671C#FFFFFF#000000##FFFFFF
##28671C1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#206458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28671c;
/* rgb */ color: rgb(40, 103, 28);
/* oklch */ color: oklch(45.6% 0.126 140.7);
Tailwind
colors: {
  custom: {
    50: '#6a935d',
    500: '#28671c',
    950: '#000000',
  },
}
SCSS
$custom: #28671c;
$custom-light: #6a935d;
$custom-dark: #000000;
JSON
{
  "hex": "#28671c",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 110.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.12564,
    "h": 140.7
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#28671C
secondary
#8E439C
accent
#47E1C8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28671C

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

Preview Lab → · Contrast checker → · Palette generator →

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