#28702D#28702D

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

Color values

HEX#28702D
RGBrgb(40, 112, 45)
HSLhsl(124, 47%, 30%)
HSVhsv(124, 64%, 44%)
CMYKcmyk(64.3%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.58, -37.18, 30.30)
CIE-LCHlch(41.58, 47.96, 140.82°)
OKLaboklab(48.39% -0.1008 0.0719)
OKLCHoklch(48.39% 0.124 144.5)
XYZxyz(7.1425, 12.2282, 4.4660)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28702D #70286B
analogous
#477028 #28702D #287051
triadic
#28702D #2D2870 #702D28
tetradic
#28702D #284770 #70286B #705128
square
#28702D #284770 #70286B #705128
split-complementary
#28702D #512870 #702847
monochromatic
#081709 #18431B #28702D #389D3F #51C159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28702D#FFFFFF#000000##FFFFFF
##28702D1.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)
#726626
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#196D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28702d;
/* rgb */ color: rgb(40, 112, 45);
/* oklch */ color: oklch(48.4% 0.124 144.5);
Tailwind
colors: {
  custom: {
    50: '#6b9a68',
    500: '#28702d',
    950: '#000000',
  },
}
SCSS
$custom: #28702d;
$custom-light: #6b9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#28702d",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 124.167,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.12376,
    "h": 144.5
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#28702D
secondary
#A2519D
accent
#51CED7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28702D

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

Preview Lab → · Contrast checker → · Palette generator →

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