#28731E#28731E

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

Color values

HEX#28731E
RGBrgb(40, 115, 30)
HSLhsl(113, 59%, 28%)
HSVhsv(113, 74%, 45%)
CMYKcmyk(65.2%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.47, -40.07, 38.34)
CIE-LCHlch(42.47, 55.46, 136.27°)
OKLaboklab(49.08% -0.1094 0.0873)
OKLCHoklch(49.08% 0.14 141.4)
XYZxyz(7.2398, 12.8056, 3.3182)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28731E #691E73
analogous
#52731E #28731E #1E733E
triadic
#28731E #1E2873 #731E28
tetradic
#28731E #1E5273 #691E73 #733E1E
square
#28731E #1E5273 #691E73 #733E1E
split-complementary
#28731E #3E1E73 #731E52
monochromatic
#081806 #174211 #28731E #39A42B #4FCD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28731E#FFFFFF#000000##FFFFFF
##28731E1.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)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#1B6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #28731e;
/* rgb */ color: rgb(40, 115, 30);
/* oklch */ color: oklch(49.1% 0.140 141.4);
Tailwind
colors: {
  custom: {
    50: '#6c9c5f',
    500: '#28731e',
    950: '#000000',
  },
}
SCSS
$custom: #28731e;
$custom-light: #6c9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28731e",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 112.941,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.13995,
    "h": 141.4
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#28731E
secondary
#9C46A7
accent
#46E2CF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28731E

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

Preview Lab → · Contrast checker → · Palette generator →

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