#28681C#28681C

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

Color values

HEX#28681C
RGBrgb(40, 104, 28)
HSLhsl(111, 58%, 26%)
HSVhsv(111, 73%, 41%)
CMYKcmyk(61.5%, 0%, 73.1%, 59.2%)
CIE-LABlab(38.61, -35.93, 35.16)
CIE-LCHlch(38.61, 50.27, 135.62°)
OKLaboklab(45.89% -0.0983 0.0804)
OKLCHoklch(45.89% 0.127 140.7)
XYZxyz(6.0347, 10.4350, 2.7945)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28681C #5C1C68
analogous
#4E681C #28681C #1C6836
triadic
#28681C #1C2868 #681C28
tetradic
#28681C #1C4E68 #5C1C68 #68361C
square
#28681C #1C4E68 #5C1C68 #68361C
split-complementary
#28681C #361C68 #681C4E
monochromatic
#091806 #15380F #28681C #3B9829 #4DC836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28681C#FFFFFF#000000##FFFFFF
##28681C1.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)
#6B5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28681c;
/* rgb */ color: rgb(40, 104, 28);
/* oklch */ color: oklch(45.9% 0.127 140.7);
Tailwind
colors: {
  custom: {
    50: '#6a945d',
    500: '#28681c',
    950: '#000000',
  },
}
SCSS
$custom: #28681c;
$custom-light: #6a945d;
$custom-dark: #000000;
JSON
{
  "hex": "#28681c",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 110.526,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.12698,
    "h": 140.7
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#28681C
secondary
#8F439D
accent
#47E1C9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28681C

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

Preview Lab → · Contrast checker → · Palette generator →

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