#28671E#28671E

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

Color values

HEX#28671E
RGBrgb(40, 103, 30)
HSLhsl(112, 55%, 26%)
HSVhsv(112, 71%, 40%)
CMYKcmyk(61.2%, 0%, 70.9%, 59.6%)
CIE-LABlab(38.28, -35.32, 33.91)
CIE-LCHlch(38.28, 48.97, 136.16°)
OKLaboklab(45.62% -0.0966 0.078)
OKLCHoklch(45.62% 0.124 141.1)
XYZxyz(5.9594, 10.2448, 2.8914)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28671E #5D1E67
analogous
#4C671E #28671E #1E6738
triadic
#28671E #1E2867 #671E28
tetradic
#28671E #1E4C67 #5D1E67 #67381E
square
#28671E #1E4C67 #5D1E67 #67381E
split-complementary
#28671E #381E67 #671E4C
monochromatic
#091807 #163810 #28671E #3A962C #4DC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28671E#FFFFFF#000000##FFFFFF
##28671E1.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)
#6A5D14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28671e;
/* rgb */ color: rgb(40, 103, 30);
/* oklch */ color: oklch(45.6% 0.124 141.1);
Tailwind
colors: {
  custom: {
    50: '#6a935e',
    500: '#28671e',
    950: '#000000',
  },
}
SCSS
$custom: #28671e;
$custom-light: #6a935e;
$custom-dark: #000000;
JSON
{
  "hex": "#28671e",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 111.781,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45617,
    "c": 0.12412,
    "h": 141.1
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#28671E
secondary
#90459C
accent
#4ADECA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28671E

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

Preview Lab → · Contrast checker → · Palette generator →

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