#28713D#28713D

#28713D is a mid, moderate green. Relative luminance 0.126; OKLCH L 48.9% C 0.109 H 149.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#28713D
RGBrgb(40, 113, 61)
HSLhsl(137, 48%, 30%)
HSVhsv(137, 65%, 44%)
CMYKcmyk(64.6%, 0%, 46%, 55.7%)
CIE-LABlab(42.15, -35.03, 22.32)
CIE-LCHlch(42.15, 41.54, 147.50°)
OKLaboklab(48.94% -0.0946 0.0549)
OKLCHoklch(48.94% 0.109 149.9)
XYZxyz(7.6219, 12.5975, 6.4439)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28713D #71285C
analogous
#387128 #28713D #287161
triadic
#28713D #3D2871 #713D28
tetradic
#28713D #283871 #71285C #716128
square
#28713D #283871 #71285C #716128
split-complementary
#28713D #612871 #712838
monochromatic
#08170C #184425 #28713D #389E55 #52C272

Accessibility & contrast

On white

5.97
#28713D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28713D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28713D#FFFFFF#000000##FFFFFF
##28713D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726739
Deuteranopia (green-blind)
#686140
Tritanopia (blue-blind)
#116F64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28713d;
/* rgb */ color: rgb(40, 113, 61);
/* oklch */ color: oklch(48.9% 0.109 149.9);
Tailwind
colors: {
  custom: {
    50: '#6a9a73',
    500: '#28713d',
    950: '#000000',
  },
}
SCSS
$custom: #28713d;
$custom-light: #6a9a73;
$custom-dark: #000000;
JSON
{
  "hex": "#28713d",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 61
  },
  "hsl": {
    "h": 137.26,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.10943,
    "h": 149.9
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#28713D
secondary
#A3528C
accent
#50B1D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28713D

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

Preview Lab → · Contrast checker → · Palette generator →

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