#28681D#28681D

#28681D is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.126 H 140.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#28681D
RGBrgb(40, 104, 29)
HSLhsl(111, 56%, 26%)
HSVhsv(111, 72%, 41%)
CMYKcmyk(61.5%, 0%, 72.1%, 59.2%)
CIE-LABlab(38.62, -35.83, 34.73)
CIE-LCHlch(38.62, 49.90, 135.89°)
OKLaboklab(45.9% -0.098 0.0796)
OKLCHoklch(45.9% 0.126 140.9)
XYZxyz(6.0469, 10.4399, 2.8586)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28681D #5D1D68
analogous
#4D681D #28681D #1D6837
triadic
#28681D #1D2868 #681D28
tetradic
#28681D #1D4D68 #5D1D68 #68371D
square
#28681D #1D4D68 #5D1D68 #68371D
split-complementary
#28681D #371D68 #681D4D
monochromatic
#091807 #163810 #28681D #3A982A #4DC738

Accessibility & contrast

On white

6.80
#28681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#28681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28681D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28681D#FFFFFF#000000##FFFFFF
##28681D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E12
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28681d;
/* rgb */ color: rgb(40, 104, 29);
/* oklch */ color: oklch(45.9% 0.126 140.9);
Tailwind
colors: {
  custom: {
    50: '#6a945d',
    500: '#28681d',
    950: '#000000',
  },
}
SCSS
$custom: #28681d;
$custom-light: #6a945d;
$custom-dark: #000000;
JSON
{
  "hex": "#28681d",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 111.2,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.12624,
    "h": 140.9
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#28681D
secondary
#90449D
accent
#48E0C9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28681D

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

Preview Lab → · Contrast checker → · Palette generator →

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