#28761B#28761B

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

Color values

HEX#28761B
RGBrgb(40, 118, 27)
HSLhsl(111, 63%, 28%)
HSVhsv(111, 77%, 46%)
CMYKcmyk(66.1%, 0%, 77.1%, 53.7%)
CIE-LABlab(43.49, -41.47, 40.58)
CIE-LCHlch(43.49, 58.02, 135.62°)
OKLaboklab(49.91% -0.1134 0.0915)
OKLCHoklch(49.91% 0.146 141.1)
XYZxyz(7.5510, 13.4864, 3.2419)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28761B #691B76
analogous
#55761B #28761B #1B763B
triadic
#28761B #1B2876 #761B28
tetradic
#28761B #1B5576 #691B76 #763B1B
square
#28761B #1B5576 #691B76 #763B1B
split-complementary
#28761B #3B1B76 #761B55
monochromatic
#081906 #174410 #28761B #39A826 #4FD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28761B#FFFFFF#000000##FFFFFF
##28761B1.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)
#796B09
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#1B7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28761b;
/* rgb */ color: rgb(40, 118, 27);
/* oklch */ color: oklch(49.9% 0.146 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9e5e',
    500: '#28761b',
    950: '#000000',
  },
}
SCSS
$custom: #28761b;
$custom-light: #6d9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#28761b",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 111.429,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.14569,
    "h": 141.1
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#28761B
secondary
#9C42AA
accent
#42E6CE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28761B

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

Preview Lab → · Contrast checker → · Palette generator →

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