#28671B#28671B

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

Color values

HEX#28671B
RGBrgb(40, 103, 27)
HSLhsl(110, 58%, 25%)
HSVhsv(110, 74%, 40%)
CMYKcmyk(61.2%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.25, -35.62, 35.22)
CIE-LCHlch(38.25, 50.09, 135.32°)
OKLaboklab(45.59% -0.0975 0.0803)
OKLCHoklch(45.59% 0.126 140.5)
XYZxyz(5.9229, 10.2302, 2.6992)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28671B #5A1B67
analogous
#4E671B #28671B #1B6734
triadic
#28671B #1B2867 #671B28
tetradic
#28671B #1B4E67 #5A1B67 #67341B
square
#28671B #1B4E67 #5A1B67 #67341B
split-complementary
#28671B #341B67 #671B4E
monochromatic
#091806 #15370E #28671B #3B9728 #4EC834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28671B#FFFFFF#000000##FFFFFF
##28671B1.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)
#6A5D0F
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#206458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28671b;
/* rgb */ color: rgb(40, 103, 27);
/* oklch */ color: oklch(45.6% 0.126 140.5);
Tailwind
colors: {
  custom: {
    50: '#6a935c',
    500: '#28671b',
    950: '#000000',
  },
}
SCSS
$custom: #28671b;
$custom-light: #6a935c;
$custom-dark: #000000;
JSON
{
  "hex": "#28671b",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 109.737,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.12637,
    "h": 140.5
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#28671B
secondary
#8D429C
accent
#46E2C7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28671B

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

Preview Lab → · Contrast checker → · Palette generator →

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