#28713F#28713F

#28713F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.107 H 150.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#28713F
RGBrgb(40, 113, 63)
HSLhsl(139, 48%, 30%)
HSVhsv(139, 65%, 44%)
CMYKcmyk(64.6%, 0%, 44.2%, 55.7%)
CIE-LABlab(42.18, -34.66, 21.23)
CIE-LCHlch(42.18, 40.65, 148.51°)
OKLaboklab(48.98% -0.0937 0.0525)
OKLCHoklch(48.98% 0.107 150.7)
XYZxyz(7.6768, 12.6195, 6.7329)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28713F #71285A
analogous
#367128 #28713F #287163
triadic
#28713F #3F2871 #713F28
tetradic
#28713F #283671 #71285A #716328
square
#28713F #283671 #71285A #716328
split-complementary
#28713F #632871 #712836
monochromatic
#08170D #184426 #28713F #389E58 #52C275

Accessibility & contrast

On white

5.96
#28713F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#28713F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28713F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28713F#FFFFFF#000000##FFFFFF
##28713F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683B
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#106F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #28713f;
/* rgb */ color: rgb(40, 113, 63);
/* oklch */ color: oklch(49.0% 0.107 150.7);
Tailwind
colors: {
  custom: {
    50: '#6a9a74',
    500: '#28713f',
    950: '#000000',
  },
}
SCSS
$custom: #28713f;
$custom-light: #6a9a74;
$custom-dark: #000000;
JSON
{
  "hex": "#28713f",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 63
  },
  "hsl": {
    "h": 138.904,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.10737,
    "h": 150.7
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#28713F
secondary
#A3528A
accent
#50ADD7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28713F

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

Preview Lab → · Contrast checker → · Palette generator →

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