#28751A#28751A

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

Color values

HEX#28751A
RGBrgb(40, 117, 26)
HSLhsl(111, 64%, 28%)
HSVhsv(111, 78%, 46%)
CMYKcmyk(65.8%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.13, -41.17, 40.60)
CIE-LCHlch(43.13, 57.82, 135.40°)
OKLaboklab(49.62% -0.1126 0.0914)
OKLCHoklch(49.62% 0.145 140.9)
XYZxyz(7.4224, 13.2476, 3.1430)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28751A #671A75
analogous
#55751A #28751A #1A7539
triadic
#28751A #1A2875 #751A28
tetradic
#28751A #1A5575 #671A75 #75391A
square
#28751A #1A5575 #671A75 #75391A
split-complementary
#28751A #391A75 #751A55
monochromatic
#091906 #17430F #28751A #39A725 #4FD337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28751A#FFFFFF#000000##FFFFFF
##28751A1.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)
#786A07
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#1B7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28751a;
/* rgb */ color: rgb(40, 117, 26);
/* oklch */ color: oklch(49.6% 0.145 140.9);
Tailwind
colors: {
  custom: {
    50: '#6d9e5d',
    500: '#28751a',
    950: '#000000',
  },
}
SCSS
$custom: #28751a;
$custom-light: #6d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#28751a",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 110.769,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.14507,
    "h": 140.9
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#28751A
secondary
#9A41AA
accent
#41E7CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28751A

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

Preview Lab → · Contrast checker → · Palette generator →

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