#28703C#28703C

#28703C is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.109 H 149.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#28703C
RGBrgb(40, 112, 60)
HSLhsl(137, 47%, 30%)
HSVhsv(137, 64%, 44%)
CMYKcmyk(64.3%, 0%, 46.4%, 56.1%)
CIE-LABlab(41.79, -34.79, 22.42)
CIE-LCHlch(41.79, 41.39, 147.20°)
OKLaboklab(48.64% -0.094 0.0551)
OKLCHoklch(48.64% 0.109 149.6)
XYZxyz(7.4843, 12.3650, 6.2663)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28703C #70285C
analogous
#387028 #28703C #287060
triadic
#28703C #3C2870 #703C28
tetradic
#28703C #283870 #70285C #706028
square
#28703C #283870 #70285C #706028
split-complementary
#28703C #602870 #702838
monochromatic
#08170C #184324 #28703C #389D54 #51C170

Accessibility & contrast

On white

6.05
#28703C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#28703C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28703C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28703C#FFFFFF#000000##FFFFFF
##28703C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716738
Deuteranopia (green-blind)
#676040
Tritanopia (blue-blind)
#126E63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28703c;
/* rgb */ color: rgb(40, 112, 60);
/* oklch */ color: oklch(48.6% 0.109 149.6);
Tailwind
colors: {
  custom: {
    50: '#6a9a72',
    500: '#28703c',
    950: '#000000',
  },
}
SCSS
$custom: #28703c;
$custom-light: #6a9a72;
$custom-dark: #000000;
JSON
{
  "hex": "#28703c",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 60
  },
  "hsl": {
    "h": 136.667,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.10896,
    "h": 149.6
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#28703C
secondary
#A2518C
accent
#51B2D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28703C

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

Preview Lab → · Contrast checker → · Palette generator →

#28703C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva