#28741C#28741C

#28741C is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.143 H 141.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#28741C
RGBrgb(40, 116, 28)
HSLhsl(112, 61%, 28%)
HSVhsv(112, 76%, 45%)
CMYKcmyk(65.5%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.80, -40.63, 39.49)
CIE-LCHlch(42.80, 56.66, 135.81°)
OKLaboklab(49.35% -0.111 0.0894)
OKLCHoklch(49.35% 0.143 141.2)
XYZxyz(7.3297, 13.0250, 3.2262)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28741C #681C74
analogous
#54741C #28741C #1C743C
triadic
#28741C #1C2874 #741C28
tetradic
#28741C #1C5474 #681C74 #743C1C
square
#28741C #1C5474 #681C74 #743C1C
split-complementary
#28741C #3C1C74 #741C54
monochromatic
#091906 #174310 #28741C #39A528 #4FD03B

Accessibility & contrast

On white

5.82
#28741C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#28741C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28741C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28741C#FFFFFF#000000##FFFFFF
##28741C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#1B7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28741c;
/* rgb */ color: rgb(40, 116, 28);
/* oklch */ color: oklch(49.3% 0.143 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d9d5e',
    500: '#28741c',
    950: '#000000',
  },
}
SCSS
$custom: #28741c;
$custom-light: #6d9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28741c",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 111.818,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.14256,
    "h": 141.2
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#28741C
secondary
#9B43A8
accent
#44E4CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28741C

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

Preview Lab → · Contrast checker → · Palette generator →

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