#28741D#28741D

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

Color values

HEX#28741D
RGBrgb(40, 116, 29)
HSLhsl(112, 60%, 28%)
HSVhsv(112, 75%, 45%)
CMYKcmyk(65.5%, 0%, 75%, 54.5%)
CIE-LABlab(42.81, -40.54, 39.10)
CIE-LCHlch(42.81, 56.32, 136.04°)
OKLaboklab(49.36% -0.1107 0.0887)
OKLCHoklch(49.36% 0.142 141.3)
XYZxyz(7.3419, 13.0299, 3.2903)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28741D #691D74
analogous
#53741D #28741D #1D743D
triadic
#28741D #1D2874 #741D28
tetradic
#28741D #1D5374 #691D74 #743D1D
square
#28741D #1D5374 #691D74 #743D1D
split-complementary
#28741D #3D1D74 #741D53
monochromatic
#081806 #174311 #28741D #39A529 #4FCE3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28741D#FFFFFF#000000##FFFFFF
##28741D1.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)
#77690E
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#1B7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28741d;
/* rgb */ color: rgb(40, 116, 29);
/* oklch */ color: oklch(49.4% 0.142 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9d5f',
    500: '#28741d',
    950: '#000000',
  },
}
SCSS
$custom: #28741d;
$custom-light: #6d9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28741d",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 112.414,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49357,
    "c": 0.1419,
    "h": 141.3
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#28741D
secondary
#9C45A8
accent
#45E3CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28741D

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

Preview Lab → · Contrast checker → · Palette generator →

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