#28612C#28612C

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

Color values

HEX#28612C
RGBrgb(40, 97, 44)
HSLhsl(124, 42%, 27%)
HSVhsv(124, 59%, 38%)
CMYKcmyk(58.8%, 0%, 54.6%, 62%)
CIE-LABlab(36.33, -30.96, 24.53)
CIE-LCHlch(36.33, 39.50, 141.61°)
OKLaboklab(44.07% -0.084 0.0591)
OKLCHoklch(44.07% 0.103 144.9)
XYZxyz(5.6041, 9.1819, 3.8593)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28612C #61285D
analogous
#416128 #28612C #286149
triadic
#28612C #2C2861 #612C28
tetradic
#28612C #284161 #61285D #614928
square
#28612C #284161 #61285D #614928
split-complementary
#28612C #492861 #612841
monochromatic
#09160A #163618 #28612C #3A8C40 #4EB655

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28612C#FFFFFF#000000##FFFFFF
##28612C1.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)
#635927
Deuteranopia (green-blind)
#5B5330
Tritanopia (blue-blind)
#1E5F55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28612c;
/* rgb */ color: rgb(40, 97, 44);
/* oklch */ color: oklch(44.1% 0.103 144.9);
Tailwind
colors: {
  custom: {
    50: '#688e66',
    500: '#28612c',
    950: '#000000',
  },
}
SCSS
$custom: #28612c;
$custom-light: #688e66;
$custom-dark: #000000;
JSON
{
  "hex": "#28612c",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 44
  },
  "hsl": {
    "h": 124.211,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.10271,
    "h": 144.9
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#28612C
secondary
#94518F
accent
#56C9D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #28612C

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

Preview Lab → · Contrast checker → · Palette generator →

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