#28651D#28651D

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

Color values

HEX#28651D
RGBrgb(40, 101, 29)
HSLhsl(111, 55%, 25%)
HSVhsv(111, 71%, 40%)
CMYKcmyk(60.4%, 0%, 71.3%, 60.4%)
CIE-LABlab(37.57, -34.60, 33.61)
CIE-LCHlch(37.57, 48.24, 135.84°)
OKLaboklab(45.03% -0.0947 0.0772)
OKLCHoklch(45.03% 0.122 140.8)
XYZxyz(5.7503, 9.8467, 2.7597)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28651D #5A1D65
analogous
#4C651D #28651D #1D6536
triadic
#28651D #1D2865 #651D28
tetradic
#28651D #1D4C65 #5A1D65 #65361D
square
#28651D #1D4C65 #5A1D65 #65361D
split-complementary
#28651D #361D65 #651D4C
monochromatic
#091807 #15350F #28651D #3B952B #4EC438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28651D#FFFFFF#000000##FFFFFF
##28651D1.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)
#685C13
Deuteranopia (green-blind)
#605624
Tritanopia (blue-blind)
#206256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28651d;
/* rgb */ color: rgb(40, 101, 29);
/* oklch */ color: oklch(45.0% 0.122 140.8);
Tailwind
colors: {
  custom: {
    50: '#69915d',
    500: '#28651d',
    950: '#000000',
  },
}
SCSS
$custom: #28651d;
$custom-light: #69915d;
$custom-dark: #000000;
JSON
{
  "hex": "#28651d",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 29
  },
  "hsl": {
    "h": 110.833,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.12217,
    "h": 140.8
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#28651D
secondary
#8D449A
accent
#49DFC8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28651D

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

Preview Lab → · Contrast checker → · Palette generator →

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