#28711E#28711E

#28711E is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.137 H 141.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#28711E
RGBrgb(40, 113, 30)
HSLhsl(113, 58%, 28%)
HSVhsv(113, 73%, 44%)
CMYKcmyk(64.6%, 0%, 73.5%, 55.7%)
CIE-LABlab(41.77, -39.30, 37.61)
CIE-LCHlch(41.77, 54.40, 136.26°)
OKLaboklab(48.5% -0.1073 0.0858)
OKLCHoklch(48.5% 0.137 141.4)
XYZxyz(7.0142, 12.3544, 3.2431)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28711E #671E71
analogous
#51711E #28711E #1E713D
triadic
#28711E #1E2871 #711E28
tetradic
#28711E #1E5171 #671E71 #713D1E
square
#28711E #1E5171 #671E71 #713D1E
split-complementary
#28711E #3D1E71 #711E51
monochromatic
#091806 #174111 #28711E #39A12B #4FCC3E

Accessibility & contrast

On white

6.05
#28711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#28711E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28711E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28711E#FFFFFF#000000##FFFFFF
##28711E1.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)
#746611
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#1C6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28711e;
/* rgb */ color: rgb(40, 113, 30);
/* oklch */ color: oklch(48.5% 0.137 141.4);
Tailwind
colors: {
  custom: {
    50: '#6c9b5f',
    500: '#28711e',
    950: '#000000',
  },
}
SCSS
$custom: #28711e;
$custom-light: #6c9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28711e",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 112.771,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.13738,
    "h": 141.4
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#28711E
secondary
#9A46A5
accent
#47E1CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #28711E

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

Preview Lab → · Contrast checker → · Palette generator →

#28711E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva