#28711C#28711C

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

Color values

HEX#28711C
RGBrgb(40, 113, 28)
HSLhsl(112, 60%, 28%)
HSVhsv(112, 75%, 44%)
CMYKcmyk(64.6%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.76, -39.48, 38.43)
CIE-LCHlch(41.76, 55.10, 135.77°)
OKLaboklab(48.49% -0.1079 0.0872)
OKLCHoklch(48.49% 0.139 141.1)
XYZxyz(6.9895, 12.3445, 3.1128)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28711C #651C71
analogous
#53711C #28711C #1C713A
triadic
#28711C #1C2871 #711C28
tetradic
#28711C #1C5371 #651C71 #713A1C
square
#28711C #1C5371 #651C71 #713A1C
split-complementary
#28711C #3A1C71 #711C53
monochromatic
#091906 #174010 #28711C #39A228 #4ECE39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28711C#FFFFFF#000000##FFFFFF
##28711C1.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)
#74660D
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#1C6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28711c;
/* rgb */ color: rgb(40, 113, 28);
/* oklch */ color: oklch(48.5% 0.139 141.1);
Tailwind
colors: {
  custom: {
    50: '#6c9b5e',
    500: '#28711c',
    950: '#000000',
  },
}
SCSS
$custom: #28711c;
$custom-light: #6c9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28711c",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 111.529,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.13876,
    "h": 141.1
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#28711C
secondary
#9843A6
accent
#44E3CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #28711C

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

Preview Lab → · Contrast checker → · Palette generator →

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