#28741B#28741B

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

Color values

HEX#28741B
RGBrgb(40, 116, 27)
HSLhsl(111, 62%, 28%)
HSVhsv(111, 77%, 45%)
CMYKcmyk(65.5%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.79, -40.71, 39.88)
CIE-LCHlch(42.79, 56.99, 135.59°)
OKLaboklab(49.34% -0.1113 0.0901)
OKLCHoklch(49.34% 0.143 141)
XYZxyz(7.3179, 13.0203, 3.1642)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28741B #671B74
analogous
#54741B #28741B #1B743A
triadic
#28741B #1B2874 #741B28
tetradic
#28741B #1B5474 #671B74 #743A1B
square
#28741B #1B5474 #671B74 #743A1B
split-complementary
#28741B #3A1B74 #741B54
monochromatic
#091906 #17420F #28741B #39A627 #4FD139

Accessibility & contrast

On white

5.83
#28741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#28741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28741B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28741B#FFFFFF#000000##FFFFFF
##28741B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28741b;
/* rgb */ color: rgb(40, 116, 27);
/* oklch */ color: oklch(49.3% 0.143 141.0);
Tailwind
colors: {
  custom: {
    50: '#6d9d5e',
    500: '#28741b',
    950: '#000000',
  },
}
SCSS
$custom: #28741b;
$custom-light: #6d9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28741b",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 111.236,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.14319,
    "h": 141
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#28741B
secondary
#9A42A9
accent
#42E5CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28741B

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

Preview Lab → · Contrast checker → · Palette generator →

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