#28702A#28702A

#28702A is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.126 H 143.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#28702A
RGBrgb(40, 112, 42)
HSLhsl(122, 47%, 30%)
HSVhsv(122, 64%, 44%)
CMYKcmyk(64.3%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.54, -37.58, 31.78)
CIE-LCHlch(41.54, 49.22, 139.78°)
OKLaboklab(48.35% -0.102 0.0748)
OKLCHoklch(48.35% 0.126 143.7)
XYZxyz(7.0867, 12.2059, 4.1726)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28702A #70286E
analogous
#4A7028 #28702A #28704E
triadic
#28702A #2A2870 #702A28
tetradic
#28702A #284A70 #70286E #704E28
square
#28702A #284A70 #70286E #704E28
split-complementary
#28702A #4E2870 #70284A
monochromatic
#081708 #184319 #28702A #389D3B #51C155

Accessibility & contrast

On white

6.10
#28702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#28702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28702A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28702A#FFFFFF#000000##FFFFFF
##28702A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#696030
Tritanopia (blue-blind)
#1A6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28702a;
/* rgb */ color: rgb(40, 112, 42);
/* oklch */ color: oklch(48.3% 0.126 143.7);
Tailwind
colors: {
  custom: {
    50: '#6b9a66',
    500: '#28702a',
    950: '#000000',
  },
}
SCSS
$custom: #28702a;
$custom-light: #6b9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#28702a",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 121.667,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.12647,
    "h": 143.7
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#28702A
secondary
#A251A0
accent
#51D3D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28702A

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

Preview Lab → · Contrast checker → · Palette generator →

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