#28731A#28731A

#28731A is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.143 H 140.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#28731A
RGBrgb(40, 115, 26)
HSLhsl(111, 63%, 28%)
HSVhsv(111, 77%, 45%)
CMYKcmyk(65.2%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.44, -40.41, 39.91)
CIE-LCHlch(42.44, 56.80, 135.36°)
OKLaboklab(49.05% -0.1106 0.09)
OKLCHoklch(49.05% 0.143 140.9)
XYZxyz(7.1919, 12.7865, 3.0661)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28731A #651A73
analogous
#54731A #28731A #1A7339
triadic
#28731A #1A2873 #731A28
tetradic
#28731A #1A5473 #651A73 #73391A
square
#28731A #1A5473 #651A73 #73391A
split-complementary
#28731A #391A73 #731A54
monochromatic
#091906 #17410F #28731A #39A525 #4ED236

Accessibility & contrast

On white

5.90
#28731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#28731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28731A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28731A#FFFFFF#000000##FFFFFF
##28731A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#1C6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #28731a;
/* rgb */ color: rgb(40, 115, 26);
/* oklch */ color: oklch(49.0% 0.143 140.9);
Tailwind
colors: {
  custom: {
    50: '#6d9c5d',
    500: '#28731a',
    950: '#000000',
  },
}
SCSS
$custom: #28731a;
$custom-light: #6d9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#28731a",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 110.562,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.14256,
    "h": 140.9
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#28731A
secondary
#9841A8
accent
#42E6CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #28731A

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

Preview Lab → · Contrast checker → · Palette generator →

#28731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva