#28762B#28762B

#28762B is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.134 H 143.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#28762B
RGBrgb(40, 118, 43)
HSLhsl(122, 49%, 31%)
HSVhsv(122, 66%, 46%)
CMYKcmyk(66.1%, 0%, 63.6%, 53.7%)
CIE-LABlab(43.63, -39.83, 33.68)
CIE-LCHlch(43.63, 52.16, 139.79°)
OKLaboklab(50.08% -0.108 0.079)
OKLCHoklch(50.08% 0.134 143.8)
XYZxyz(7.7891, 13.5816, 4.4961)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28762B #762873
analogous
#4C7628 #28762B #287652
triadic
#28762B #2B2876 #762B28
tetradic
#28762B #284C76 #762873 #765228
square
#28762B #284C76 #762873 #765228
split-complementary
#28762B #522876 #76284C
monochromatic
#091B0A #19481A #28762B #37A43C #54C558

Accessibility & contrast

On white

5.65
#28762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#28762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28762B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28762B#FFFFFF#000000##FFFFFF
##28762B1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#177366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28762b;
/* rgb */ color: rgb(40, 118, 43);
/* oklch */ color: oklch(50.1% 0.134 143.8);
Tailwind
colors: {
  custom: {
    50: '#6c9e67',
    500: '#28762b',
    950: '#000000',
  },
}
SCSS
$custom: #28762b;
$custom-light: #6c9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#28762b",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 122.308,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.13382,
    "h": 143.8
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#28762B
secondary
#A852A5
accent
#4FD4D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #28762B

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

Preview Lab → · Contrast checker → · Palette generator →

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