#28751C#28751C

#28751C is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.144 H 141.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#28751C
RGBrgb(40, 117, 28)
HSLhsl(112, 61%, 28%)
HSVhsv(112, 76%, 46%)
CMYKcmyk(65.8%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.15, -41.01, 39.84)
CIE-LCHlch(43.15, 57.18, 135.82°)
OKLaboklab(49.64% -0.1121 0.0901)
OKLCHoklch(49.64% 0.144 141.2)
XYZxyz(7.4456, 13.2568, 3.2648)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28751C #691C75
analogous
#54751C #28751C #1C753C
triadic
#28751C #1C2875 #751C28
tetradic
#28751C #1C5475 #691C75 #753C1C
square
#28751C #1C5475 #691C75 #753C1C
split-complementary
#28751C #3C1C75 #751C54
monochromatic
#081906 #174410 #28751C #39A628 #4FD03B

Accessibility & contrast

On white

5.75
#28751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#28751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28751C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28751C#FFFFFF#000000##FFFFFF
##28751C1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0C
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#1B7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28751c;
/* rgb */ color: rgb(40, 117, 28);
/* oklch */ color: oklch(49.6% 0.144 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d9e5e',
    500: '#28751c',
    950: '#000000',
  },
}
SCSS
$custom: #28751c;
$custom-light: #6d9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28751c",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 111.91,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49636,
    "c": 0.14381,
    "h": 141.2
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#28751C
secondary
#9C44A9
accent
#43E4CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28751C

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

Preview Lab → · Contrast checker → · Palette generator →

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