#28733F#28733F

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

Color values

HEX#28733F
RGBrgb(40, 115, 63)
HSLhsl(138, 48%, 30%)
HSVhsv(138, 65%, 45%)
CMYKcmyk(65.2%, 0%, 45.2%, 54.9%)
CIE-LABlab(42.87, -35.52, 22.12)
CIE-LCHlch(42.87, 41.84, 148.09°)
OKLaboklab(49.54% -0.0959 0.0545)
OKLCHoklch(49.54% 0.11 150.4)
XYZxyz(7.9024, 13.0707, 6.8081)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28733F #73285C
analogous
#367328 #28733F #287364
triadic
#28733F #3F2873 #733F28
tetradic
#28733F #283673 #73285C #736428
square
#28733F #283673 #73285C #736428
split-complementary
#28733F #642873 #732836
monochromatic
#08180D #184626 #28733F #38A058 #52C375

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28733F#FFFFFF#000000##FFFFFF
##28733F1.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)
#74693B
Deuteranopia (green-blind)
#6A6342
Tritanopia (blue-blind)
#0F7166
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #28733f;
/* rgb */ color: rgb(40, 115, 63);
/* oklch */ color: oklch(49.5% 0.110 150.4);
Tailwind
colors: {
  custom: {
    50: '#6b9c75',
    500: '#28733f',
    950: '#000000',
  },
}
SCSS
$custom: #28733f;
$custom-light: #6b9c75;
$custom-dark: #000000;
JSON
{
  "hex": "#28733f",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 63
  },
  "hsl": {
    "h": 138.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.11036,
    "h": 150.4
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#28733F
secondary
#A5528C
accent
#50AED8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #28733F

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

Preview Lab → · Contrast checker → · Palette generator →

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