#28703D#28703D

#28703D is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.108 H 150.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#28703D
RGBrgb(40, 112, 61)
HSLhsl(138, 47%, 30%)
HSVhsv(138, 64%, 44%)
CMYKcmyk(64.3%, 0%, 45.5%, 56.1%)
CIE-LABlab(41.81, -34.60, 21.88)
CIE-LCHlch(41.81, 40.94, 147.70°)
OKLaboklab(48.65% -0.0935 0.0539)
OKLCHoklch(48.65% 0.108 150)
XYZxyz(7.5110, 12.3756, 6.4069)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28703D #70285B
analogous
#377028 #28703D #287061
triadic
#28703D #3D2870 #703D28
tetradic
#28703D #283770 #70285B #706128
square
#28703D #283770 #70285B #706128
split-complementary
#28703D #612870 #702837
monochromatic
#08170C #184324 #28703D #389D56 #51C172

Accessibility & contrast

On white

6.04
#28703D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#28703D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28703D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28703D#FFFFFF#000000##FFFFFF
##28703D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28703d;
/* rgb */ color: rgb(40, 112, 61);
/* oklch */ color: oklch(48.7% 0.108 150.0);
Tailwind
colors: {
  custom: {
    50: '#6a9a73',
    500: '#28703d',
    950: '#000000',
  },
}
SCSS
$custom: #28703d;
$custom-light: #6a9a73;
$custom-dark: #000000;
JSON
{
  "hex": "#28703d",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 61
  },
  "hsl": {
    "h": 137.5,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.10793,
    "h": 150
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#28703D
secondary
#A2518B
accent
#51B0D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28703D

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

Preview Lab → · Contrast checker → · Palette generator →

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