#28702F#28702F

#28702F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.122 H 145.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#28702F
RGBrgb(40, 112, 47)
HSLhsl(126, 47%, 30%)
HSVhsv(126, 64%, 44%)
CMYKcmyk(64.3%, 0%, 58%, 56.1%)
CIE-LABlab(41.60, -36.90, 29.29)
CIE-LCHlch(41.60, 47.11, 141.56°)
OKLaboklab(48.42% -0.0999 0.0698)
OKLCHoklch(48.42% 0.122 145.1)
XYZxyz(7.1819, 12.2440, 4.6736)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28702F #702869
analogous
#457028 #28702F #287053
triadic
#28702F #2F2870 #702F28
tetradic
#28702F #284570 #702869 #705328
square
#28702F #284570 #702869 #705328
split-complementary
#28702F #532870 #702845
monochromatic
#081709 #18431C #28702F #389D42 #51C15C

Accessibility & contrast

On white

6.09
#28702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#28702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28702F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28702F#FFFFFF#000000##FFFFFF
##28702F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#186D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28702f;
/* rgb */ color: rgb(40, 112, 47);
/* oklch */ color: oklch(48.4% 0.122 145.1);
Tailwind
colors: {
  custom: {
    50: '#6b9a69',
    500: '#28702f',
    950: '#000000',
  },
}
SCSS
$custom: #28702f;
$custom-light: #6b9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#28702f",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 125.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48418,
    "c": 0.1219,
    "h": 145.1
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#28702F
secondary
#A2519A
accent
#51CAD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28702F

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

Preview Lab → · Contrast checker → · Palette generator →

#28702F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva