#28741F#28741F

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

Color values

HEX#28741F
RGBrgb(40, 116, 31)
HSLhsl(114, 58%, 29%)
HSVhsv(114, 73%, 45%)
CMYKcmyk(65.5%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.82, -40.36, 38.29)
CIE-LCHlch(42.82, 55.63, 136.51°)
OKLaboklab(49.38% -0.1101 0.0873)
OKLCHoklch(49.38% 0.141 141.6)
XYZxyz(7.3674, 13.0401, 3.4248)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28741F #6B1F74
analogous
#53741F #28741F #1F7441
triadic
#28741F #1F2874 #741F28
tetradic
#28741F #1F5374 #6B1F74 #74411F
square
#28741F #1F5374 #6B1F74 #74411F
split-complementary
#28741F #411F74 #741F53
monochromatic
#081806 #174412 #28741F #39A42C #50CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28741F#FFFFFF#000000##FFFFFF
##28741F1.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)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#1B7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28741f;
/* rgb */ color: rgb(40, 116, 31);
/* oklch */ color: oklch(49.4% 0.141 141.6);
Tailwind
colors: {
  custom: {
    50: '#6d9d60',
    500: '#28741f',
    950: '#000000',
  },
}
SCSS
$custom: #28741f;
$custom-light: #6d9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#28741f",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 113.647,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.14055,
    "h": 141.6
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#28741F
secondary
#9D47A8
accent
#47E1D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28741F

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

Preview Lab → · Contrast checker → · Palette generator →

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