#28731C#28731C

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

Color values

HEX#28731C
RGBrgb(40, 115, 28)
HSLhsl(112, 61%, 28%)
HSVhsv(112, 76%, 45%)
CMYKcmyk(65.2%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.45, -40.25, 39.14)
CIE-LCHlch(42.45, 56.14, 135.80°)
OKLaboklab(49.06% -0.11 0.0887)
OKLCHoklch(49.06% 0.141 141.1)
XYZxyz(7.2150, 12.7957, 3.1880)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28731C #671C73
analogous
#53731C #28731C #1C733B
triadic
#28731C #1C2873 #731C28
tetradic
#28731C #1C5373 #671C73 #733B1C
square
#28731C #1C5373 #671C73 #733B1C
split-complementary
#28731C #3B1C73 #731C53
monochromatic
#091906 #174210 #28731C #39A428 #4FCF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28731C#FFFFFF#000000##FFFFFF
##28731C1.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)
#76680D
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#1C6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #28731c;
/* rgb */ color: rgb(40, 115, 28);
/* oklch */ color: oklch(49.1% 0.141 141.1);
Tailwind
colors: {
  custom: {
    50: '#6c9c5e',
    500: '#28731c',
    950: '#000000',
  },
}
SCSS
$custom: #28731c;
$custom-light: #6c9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28731c",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 111.724,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.1413,
    "h": 141.1
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#28731C
secondary
#9A43A7
accent
#44E4CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28731C

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

Preview Lab → · Contrast checker → · Palette generator →

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