#28741E#28741E

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

Color values

HEX#28741E
RGBrgb(40, 116, 30)
HSLhsl(113, 59%, 29%)
HSVhsv(113, 74%, 45%)
CMYKcmyk(65.5%, 0%, 74.1%, 54.5%)
CIE-LABlab(42.82, -40.45, 38.70)
CIE-LCHlch(42.82, 55.98, 136.27°)
OKLaboklab(49.37% -0.1104 0.088)
OKLCHoklch(49.37% 0.141 141.4)
XYZxyz(7.3544, 13.0349, 3.3565)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28741E #6A1E74
analogous
#53741E #28741E #1E743F
triadic
#28741E #1E2874 #741E28
tetradic
#28741E #1E5374 #6A1E74 #743F1E
square
#28741E #1E5374 #6A1E74 #743F1E
split-complementary
#28741E #3F1E74 #741E53
monochromatic
#081806 #174311 #28741E #39A52B #50CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #28741e;
/* rgb */ color: rgb(40, 116, 30);
/* oklch */ color: oklch(49.4% 0.141 141.4);
Tailwind
colors: {
  custom: {
    50: '#6d9d5f',
    500: '#28741e',
    950: '#000000',
  },
}
SCSS
$custom: #28741e;
$custom-light: #6d9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28741e",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 113.023,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.14124,
    "h": 141.4
  },
  "luminance": 0.13036
}

Semantic roles & 50–950 ramp

primary
#28741E
secondary
#9D46A8
accent
#46E2D0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28741E

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

Preview Lab → · Contrast checker → · Palette generator →

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