#28712E#28712E

#28712E is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.124 H 144.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#28712E
RGBrgb(40, 113, 46)
HSLhsl(125, 48%, 30%)
HSVhsv(125, 65%, 44%)
CMYKcmyk(64.6%, 0%, 59.3%, 55.7%)
CIE-LABlab(41.93, -37.45, 30.20)
CIE-LCHlch(41.93, 48.11, 141.11°)
OKLaboklab(48.69% -0.1014 0.0717)
OKLCHoklch(48.69% 0.124 144.7)
XYZxyz(7.2729, 12.4579, 4.6056)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28712E #71286B
analogous
#467128 #28712E #287153
triadic
#28712E #2E2871 #712E28
tetradic
#28712E #284671 #71286B #715328
square
#28712E #284671 #71286B #715328
split-complementary
#28712E #532871 #712846
monochromatic
#081709 #18441C #28712E #389E40 #52C25B

Accessibility & contrast

On white

6.01
#28712E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#28712E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28712E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28712E#FFFFFF#000000##FFFFFF
##28712E1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#186E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28712e;
/* rgb */ color: rgb(40, 113, 46);
/* oklch */ color: oklch(48.7% 0.124 144.7);
Tailwind
colors: {
  custom: {
    50: '#6b9a69',
    500: '#28712e',
    950: '#000000',
  },
}
SCSS
$custom: #28712e;
$custom-light: #6b9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#28712e",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 124.932,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.12424,
    "h": 144.7
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#28712E
secondary
#A3529D
accent
#50CCD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28712E

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

Preview Lab → · Contrast checker → · Palette generator →

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