#28711A#28711A

#28711A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.140 H 140.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#28711A
RGBrgb(40, 113, 26)
HSLhsl(110, 63%, 27%)
HSVhsv(110, 77%, 44%)
CMYKcmyk(64.6%, 0%, 77%, 55.7%)
CIE-LABlab(41.74, -39.65, 39.21)
CIE-LCHlch(41.74, 55.77, 135.32°)
OKLaboklab(48.47% -0.1085 0.0885)
OKLCHoklch(48.47% 0.14 140.8)
XYZxyz(6.9663, 12.3353, 2.9909)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28711A #631A71
analogous
#54711A #28711A #1A7138
triadic
#28711A #1A2871 #711A28
tetradic
#28711A #1A5471 #631A71 #71381A
square
#28711A #1A5471 #631A71 #71381A
split-complementary
#28711A #381A71 #711A54
monochromatic
#091906 #163F0F #28711A #3AA325 #4ED035

Accessibility & contrast

On white

6.06
#28711A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28711A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28711A#FFFFFF#000000##FFFFFF
##28711A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#1D6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #28711a;
/* rgb */ color: rgb(40, 113, 26);
/* oklch */ color: oklch(48.5% 0.140 140.8);
Tailwind
colors: {
  custom: {
    50: '#6c9b5d',
    500: '#28711a',
    950: '#000000',
  },
}
SCSS
$custom: #28711a;
$custom-light: #6c9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#28711a",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 110.345,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.14004,
    "h": 140.8
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#28711A
secondary
#9641A6
accent
#42E6CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #28711A

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

Preview Lab → · Contrast checker → · Palette generator →

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