#28612E#28612E

#28612E is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.1% C 0.101 H 145.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#28612E
RGBrgb(40, 97, 46)
HSLhsl(126, 42%, 27%)
HSVhsv(126, 59%, 38%)
CMYKcmyk(58.8%, 0%, 52.6%, 62%)
CIE-LABlab(36.36, -30.64, 23.45)
CIE-LCHlch(36.36, 38.59, 142.58°)
OKLaboklab(44.1% -0.0831 0.0568)
OKLCHoklch(44.1% 0.101 145.6)
XYZxyz(5.6426, 9.1973, 4.0621)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28612E #61285B
analogous
#3F6128 #28612E #28614B
triadic
#28612E #2E2861 #612E28
tetradic
#28612E #283F61 #61285B #614B28
square
#28612E #283F61 #61285B #614B28
split-complementary
#28612E #4B2861 #61283F
monochromatic
#09160A #163619 #28612E #3A8C43 #4EB659

Accessibility & contrast

On white

7.40
#28612E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#28612E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28612E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28612E#FFFFFF#000000##FFFFFF
##28612E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592A
Deuteranopia (green-blind)
#5B5432
Tritanopia (blue-blind)
#1D5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28612e;
/* rgb */ color: rgb(40, 97, 46);
/* oklch */ color: oklch(44.1% 0.101 145.6);
Tailwind
colors: {
  custom: {
    50: '#688e68',
    500: '#28612e',
    950: '#000000',
  },
}
SCSS
$custom: #28612e;
$custom-light: #688e68;
$custom-dark: #000000;
JSON
{
  "hex": "#28612e",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 46
  },
  "hsl": {
    "h": 126.316,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.441,
    "c": 0.10064,
    "h": 145.6
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#28612E
secondary
#94518D
accent
#56C4D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28612E

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

Preview Lab → · Contrast checker → · Palette generator →

#28612E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva