#28733E#28733E

#28733E is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.5% C 0.111 H 150.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#28733E
RGBrgb(40, 115, 62)
HSLhsl(138, 48%, 30%)
HSVhsv(138, 65%, 45%)
CMYKcmyk(65.2%, 0%, 46.1%, 54.9%)
CIE-LABlab(42.85, -35.70, 22.66)
CIE-LCHlch(42.85, 42.29, 147.60°)
OKLaboklab(49.52% -0.0964 0.0558)
OKLCHoklch(49.52% 0.111 150)
XYZxyz(7.8747, 13.0596, 6.6623)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28733E #73285D
analogous
#377328 #28733E #287363
triadic
#28733E #3E2873 #733E28
tetradic
#28733E #283773 #73285D #736328
square
#28733E #283773 #73285D #736328
split-complementary
#28733E #632873 #732837
monochromatic
#08180D #184626 #28733E #38A056 #52C373

Accessibility & contrast

On white

5.81
#28733E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28733E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28733E#FFFFFF#000000##FFFFFF
##28733E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74693A
Deuteranopia (green-blind)
#6A6342
Tritanopia (blue-blind)
#0F7166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28733e;
/* rgb */ color: rgb(40, 115, 62);
/* oklch */ color: oklch(49.5% 0.111 150.0);
Tailwind
colors: {
  custom: {
    50: '#6b9c74',
    500: '#28733e',
    950: '#000000',
  },
}
SCSS
$custom: #28733e;
$custom-light: #6b9c74;
$custom-dark: #000000;
JSON
{
  "hex": "#28733e",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 62
  },
  "hsl": {
    "h": 137.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.11138,
    "h": 150
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#28733E
secondary
#A5528D
accent
#50B0D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28733E

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

Preview Lab → · Contrast checker → · Palette generator →

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