#28733B#28733B

#28733B is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.114 H 148.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#28733B
RGBrgb(40, 115, 59)
HSLhsl(135, 48%, 30%)
HSVhsv(135, 65%, 45%)
CMYKcmyk(65.2%, 0%, 48.7%, 54.9%)
CIE-LABlab(42.80, -36.24, 24.28)
CIE-LCHlch(42.80, 43.62, 146.18°)
OKLaboklab(49.47% -0.0979 0.0593)
OKLCHoklch(49.47% 0.114 148.8)
XYZxyz(7.7947, 13.0276, 6.2406)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28733B #732860
analogous
#3A7328 #28733B #287360
triadic
#28733B #3B2873 #733B28
tetradic
#28733B #283A73 #732860 #736028
square
#28733B #283A73 #732860 #736028
split-complementary
#28733B #602873 #73283A
monochromatic
#08180C #184624 #28733B #38A052 #52C36F

Accessibility & contrast

On white

5.82
#28733B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28733B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28733B#FFFFFF#000000##FFFFFF
##28733B1.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)
#746937
Deuteranopia (green-blind)
#6A623F
Tritanopia (blue-blind)
#117166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28733b;
/* rgb */ color: rgb(40, 115, 59);
/* oklch */ color: oklch(49.5% 0.114 148.8);
Tailwind
colors: {
  custom: {
    50: '#6b9c72',
    500: '#28733b',
    950: '#000000',
  },
}
SCSS
$custom: #28733b;
$custom-light: #6b9c72;
$custom-dark: #000000;
JSON
{
  "hex": "#28733b",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 59
  },
  "hsl": {
    "h": 135.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.11444,
    "h": 148.8
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#28733B
secondary
#A55290
accent
#50B5D8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28733B

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

Preview Lab → · Contrast checker → · Palette generator →

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