#28704A#28704A

#28704A is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.095 H 156.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#28704A
RGBrgb(40, 112, 74)
HSLhsl(148, 47%, 30%)
HSVhsv(148, 64%, 44%)
CMYKcmyk(64.3%, 0%, 33.9%, 56.1%)
CIE-LABlab(42.05, -31.97, 14.68)
CIE-LCHlch(42.05, 35.18, 155.34°)
OKLaboklab(48.94% -0.087 0.0371)
OKLCHoklch(48.94% 0.095 156.9)
XYZxyz(7.9046, 12.5331, 8.4798)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28704A #70284E
analogous
#2A7028 #28704A #28706E
triadic
#28704A #4A2870 #704A28
tetradic
#28704A #282A70 #70284E #706E28
square
#28704A #282A70 #70284E #706E28
split-complementary
#28704A #6E2870 #70282A
monochromatic
#08170F #18432C #28704A #389D68 #51C186

Accessibility & contrast

On white

5.99
#28704A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#28704A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28704A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28704A#FFFFFF#000000##FFFFFF
##28704A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6748
Deuteranopia (green-blind)
#66604C
Tritanopia (blue-blind)
#066F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28704a;
/* rgb */ color: rgb(40, 112, 74);
/* oklch */ color: oklch(48.9% 0.095 156.9);
Tailwind
colors: {
  custom: {
    50: '#6a9a7c',
    500: '#28704a',
    950: '#000000',
  },
}
SCSS
$custom: #28704a;
$custom-light: #6a9a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#28704a",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 74
  },
  "hsl": {
    "h": 148.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.09457,
    "h": 156.9
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#28704A
secondary
#A2517C
accent
#5198D7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #28704A

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

Preview Lab → · Contrast checker → · Palette generator →

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