#28651C#28651C

#28651C is a mid, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.123 H 140.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#28651C
RGBrgb(40, 101, 28)
HSLhsl(110, 57%, 25%)
HSVhsv(110, 72%, 40%)
CMYKcmyk(60.4%, 0%, 72.3%, 60.4%)
CIE-LABlab(37.56, -34.70, 34.05)
CIE-LCHlch(37.56, 48.62, 135.55°)
OKLaboklab(45.02% -0.095 0.078)
OKLCHoklch(45.02% 0.123 140.6)
XYZxyz(5.7381, 9.8418, 2.6957)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28651C #591C65
analogous
#4C651C #28651C #1C6534
triadic
#28651C #1C2865 #651C28
tetradic
#28651C #1C4C65 #591C65 #65341C
square
#28651C #1C4C65 #591C65 #65341C
split-complementary
#28651C #341C65 #651C4C
monochromatic
#091807 #15350F #28651C #3B9529 #4EC537

Accessibility & contrast

On white

7.07
#28651C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28651C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28651C#FFFFFF#000000##FFFFFF
##28651C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28651c;
/* rgb */ color: rgb(40, 101, 28);
/* oklch */ color: oklch(45.0% 0.123 140.6);
Tailwind
colors: {
  custom: {
    50: '#6a915c',
    500: '#28651c',
    950: '#000000',
  },
}
SCSS
$custom: #28651c;
$custom-light: #6a915c;
$custom-dark: #000000;
JSON
{
  "hex": "#28651c",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 28
  },
  "hsl": {
    "h": 110.137,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.12293,
    "h": 140.6
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#28651C
secondary
#8C439A
accent
#48E0C7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28651C

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

Preview Lab → · Contrast checker → · Palette generator →

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