#28651A#28651A

#28651A is a dark, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.124 H 140.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#28651A
RGBrgb(40, 101, 26)
HSLhsl(109, 59%, 25%)
HSVhsv(109, 74%, 40%)
CMYKcmyk(60.4%, 0%, 74.3%, 60.4%)
CIE-LABlab(37.54, -34.90, 34.91)
CIE-LCHlch(37.54, 49.36, 134.99°)
OKLaboklab(45% -0.0957 0.0795)
OKLCHoklch(45% 0.124 140.3)
XYZxyz(5.7149, 9.8326, 2.5738)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28651A #571A65
analogous
#4E651A #28651A #1A6532
triadic
#28651A #1A2865 #651A28
tetradic
#28651A #1A4E65 #571A65 #65321A
square
#28651A #1A4E65 #571A65 #65321A
split-complementary
#28651A #321A65 #651A4E
monochromatic
#0A1806 #15340D #28651A #3B9627 #4FC633

Accessibility & contrast

On white

7.08
#28651A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#28651A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28651A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28651A#FFFFFF#000000##FFFFFF
##28651A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0E
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#206256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28651a;
/* rgb */ color: rgb(40, 101, 26);
/* oklch */ color: oklch(45.0% 0.124 140.3);
Tailwind
colors: {
  custom: {
    50: '#6a915b',
    500: '#28651a',
    950: '#000000',
  },
}
SCSS
$custom: #28651a;
$custom-light: #6a915b;
$custom-dark: #000000;
JSON
{
  "hex": "#28651a",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 108.8,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.12442,
    "h": 140.3
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#28651A
secondary
#8A409B
accent
#46E2C5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28651A

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

Preview Lab → · Contrast checker → · Palette generator →

#28651A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva