#28612A#28612A

#28612A is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.105 H 144.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#28612A
RGBrgb(40, 97, 42)
HSLhsl(122, 42%, 27%)
HSVhsv(122, 59%, 38%)
CMYKcmyk(58.8%, 0%, 56.7%, 62%)
CIE-LABlab(36.30, -31.27, 25.60)
CIE-LCHlch(36.30, 40.41, 140.69°)
OKLaboklab(44.03% -0.0849 0.0613)
OKLCHoklch(44.03% 0.105 144.2)
XYZxyz(5.5674, 9.1672, 3.6661)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28612A #61285F
analogous
#436128 #28612A #286147
triadic
#28612A #2A2861 #612A28
tetradic
#28612A #284361 #61285F #614728
square
#28612A #284361 #61285F #614728
split-complementary
#28612A #472861 #612843
monochromatic
#091609 #163617 #28612A #3A8C3D #4EB651

Accessibility & contrast

On white

7.41
#28612A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#28612A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28612A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28612A#FFFFFF#000000##FFFFFF
##28612A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635825
Deuteranopia (green-blind)
#5B532E
Tritanopia (blue-blind)
#1E5E55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28612a;
/* rgb */ color: rgb(40, 97, 42);
/* oklch */ color: oklch(44.0% 0.105 144.2);
Tailwind
colors: {
  custom: {
    50: '#688e65',
    500: '#28612a',
    950: '#000000',
  },
}
SCSS
$custom: #28612a;
$custom-light: #688e65;
$custom-dark: #000000;
JSON
{
  "hex": "#28612a",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 42
  },
  "hsl": {
    "h": 122.105,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.10473,
    "h": 144.2
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#28612A
secondary
#945191
accent
#56CDD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #28612A

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

Preview Lab → · Contrast checker → · Palette generator →

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