#28742E#28742E

#28742E is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.128 H 144.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#28742E
RGBrgb(40, 116, 46)
HSLhsl(125, 49%, 31%)
HSVhsv(125, 66%, 45%)
CMYKcmyk(65.5%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.97, -38.65, 31.42)
CIE-LCHlch(42.97, 49.81, 140.89°)
OKLaboklab(49.54% -0.1047 0.0744)
OKLCHoklch(49.54% 0.128 144.6)
XYZxyz(7.6131, 13.1384, 4.7190)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28742E #74286E
analogous
#487428 #28742E #287454
triadic
#28742E #2E2874 #742E28
tetradic
#28742E #284874 #74286E #745428
square
#28742E #284874 #74286E #745428
split-complementary
#28742E #542874 #742848
monochromatic
#09190A #18461C #28742E #38A240 #53C45C

Accessibility & contrast

On white

5.79
#28742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#28742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28742E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28742E#FFFFFF#000000##FFFFFF
##28742E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#177165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28742e;
/* rgb */ color: rgb(40, 116, 46);
/* oklch */ color: oklch(49.5% 0.128 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c9d69',
    500: '#28742e',
    950: '#000000',
  },
}
SCSS
$custom: #28742e;
$custom-light: #6c9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#28742e",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 124.737,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49544,
    "c": 0.12844,
    "h": 144.6
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#28742E
secondary
#A6529F
accent
#50CDD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28742E

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

Preview Lab → · Contrast checker → · Palette generator →

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