#28671D#28671D

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

Color values

HEX#28671D
RGBrgb(40, 103, 29)
HSLhsl(111, 56%, 26%)
HSVhsv(111, 72%, 40%)
CMYKcmyk(61.2%, 0%, 71.8%, 59.6%)
CIE-LABlab(38.27, -35.42, 34.36)
CIE-LCHlch(38.27, 49.35, 135.88°)
OKLaboklab(45.61% -0.0969 0.0788)
OKLCHoklch(45.61% 0.125 140.9)
XYZxyz(5.9468, 10.2398, 2.8253)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28671D #5C1D67
analogous
#4D671D #28671D #1D6737
triadic
#28671D #1D2867 #671D28
tetradic
#28671D #1D4D67 #5C1D67 #67371D
square
#28671D #1D4D67 #5C1D67 #67371D
split-complementary
#28671D #371D67 #671D4D
monochromatic
#091807 #153710 #28671D #3B972A #4DC738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28671D#FFFFFF#000000##FFFFFF
##28671D1.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)
#6A5D13
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28671d;
/* rgb */ color: rgb(40, 103, 29);
/* oklch */ color: oklch(45.6% 0.125 140.9);
Tailwind
colors: {
  custom: {
    50: '#6a935d',
    500: '#28671d',
    950: '#000000',
  },
}
SCSS
$custom: #28671d;
$custom-light: #6a935d;
$custom-dark: #000000;
JSON
{
  "hex": "#28671d",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 111.081,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.12489,
    "h": 140.9
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#28671D
secondary
#8F449C
accent
#48DFC9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28671D

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

Preview Lab → · Contrast checker → · Palette generator →

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