#28761E#28761E

#28761E is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.144 H 141.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#28761E
RGBrgb(40, 118, 30)
HSLhsl(113, 59%, 29%)
HSVhsv(113, 75%, 46%)
CMYKcmyk(66.1%, 0%, 74.6%, 53.7%)
CIE-LABlab(43.51, -41.21, 39.41)
CIE-LCHlch(43.51, 57.02, 136.28°)
OKLaboklab(49.94% -0.1125 0.0895)
OKLCHoklch(49.94% 0.144 141.5)
XYZxyz(7.5875, 13.5010, 3.4341)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28761E #6C1E76
analogous
#54761E #28761E #1E7640
triadic
#28761E #1E2876 #761E28
tetradic
#28761E #1E5476 #6C1E76 #76401E
square
#28761E #1E5476 #6C1E76 #76401E
split-complementary
#28761E #401E76 #761E54
monochromatic
#081806 #174512 #28761E #39A72A #50CE40

Accessibility & contrast

On white

5.68
#28761E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#28761E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28761E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28761E#FFFFFF#000000##FFFFFF
##28761E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0F
Deuteranopia (green-blind)
#706427
Tritanopia (blue-blind)
#1A7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28761e;
/* rgb */ color: rgb(40, 118, 30);
/* oklch */ color: oklch(49.9% 0.144 141.5);
Tailwind
colors: {
  custom: {
    50: '#6d9e60',
    500: '#28761e',
    950: '#000000',
  },
}
SCSS
$custom: #28761e;
$custom-light: #6d9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#28761e",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 113.182,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49939,
    "c": 0.14377,
    "h": 141.5
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#28761E
secondary
#9E46AA
accent
#45E3D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28761E

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

Preview Lab → · Contrast checker → · Palette generator →

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