#28751E#28751E

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

Color values

HEX#28751E
RGBrgb(40, 117, 30)
HSLhsl(113, 59%, 29%)
HSVhsv(113, 74%, 46%)
CMYKcmyk(65.8%, 0%, 74.4%, 54.1%)
CIE-LABlab(43.16, -40.83, 39.05)
CIE-LCHlch(43.16, 56.50, 136.28°)
OKLaboklab(49.65% -0.1115 0.0888)
OKLCHoklch(49.65% 0.143 141.5)
XYZxyz(7.4703, 13.2667, 3.3951)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28751E #6B1E75
analogous
#54751E #28751E #1E7540
triadic
#28751E #1E2875 #751E28
tetradic
#28751E #1E5475 #6B1E75 #75401E
square
#28751E #1E5475 #6B1E75 #75401E
split-complementary
#28751E #401E75 #751E54
monochromatic
#081806 #174412 #28751E #39A62A #50CE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28751E#FFFFFF#000000##FFFFFF
##28751E1.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)
#786A10
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#1B7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28751e;
/* rgb */ color: rgb(40, 117, 30);
/* oklch */ color: oklch(49.7% 0.142 141.5);
Tailwind
colors: {
  custom: {
    50: '#6d9e60',
    500: '#28751e',
    950: '#000000',
  },
}
SCSS
$custom: #28751e;
$custom-light: #6d9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#28751e",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 113.103,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.1425,
    "h": 141.5
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#28751E
secondary
#9D46A9
accent
#45E2D0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28751E

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

Preview Lab → · Contrast checker → · Palette generator →

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