#28762E#28762E

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

Color values

HEX#28762E
RGBrgb(40, 118, 46)
HSLhsl(125, 49%, 31%)
HSVhsv(125, 66%, 46%)
CMYKcmyk(66.1%, 0%, 61%, 53.7%)
CIE-LABlab(43.66, -39.45, 32.23)
CIE-LCHlch(43.66, 50.94, 140.75°)
OKLaboklab(50.11% -0.1068 0.0761)
OKLCHoklch(50.11% 0.131 144.5)
XYZxyz(7.8462, 13.6045, 4.7967)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28762E #762870
analogous
#497628 #28762E #287655
triadic
#28762E #2E2876 #762E28
tetradic
#28762E #284976 #762870 #765528
square
#28762E #284976 #762870 #765528
split-complementary
#28762E #552876 #762849
monochromatic
#091B0A #19481C #28762E #37A440 #54C55C

Accessibility & contrast

On white

5.64
#28762E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28762E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28762E#FFFFFF#000000##FFFFFF
##28762E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B27
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#167366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28762e;
/* rgb */ color: rgb(40, 118, 46);
/* oklch */ color: oklch(50.1% 0.131 144.5);
Tailwind
colors: {
  custom: {
    50: '#6c9e69',
    500: '#28762e',
    950: '#000000',
  },
}
SCSS
$custom: #28762e;
$custom-light: #6c9e69;
$custom-dark: #000000;
JSON
{
  "hex": "#28762e",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 46
  },
  "hsl": {
    "h": 124.615,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50113,
    "c": 0.1312,
    "h": 144.5
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#28762E
secondary
#A852A1
accent
#4FCED9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #28762E

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

Preview Lab → · Contrast checker → · Palette generator →

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