#28761C#28761C

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

Color values

HEX#28761C
RGBrgb(40, 118, 28)
HSLhsl(112, 62%, 29%)
HSVhsv(112, 76%, 46%)
CMYKcmyk(66.1%, 0%, 76.3%, 53.7%)
CIE-LABlab(43.49, -41.38, 40.20)
CIE-LCHlch(43.49, 57.69, 135.84°)
OKLaboklab(49.92% -0.1131 0.0909)
OKLCHoklch(49.92% 0.145 141.2)
XYZxyz(7.5627, 13.4911, 3.3039)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28761C #6A1C76
analogous
#55761C #28761C #1C763D
triadic
#28761C #1C2876 #761C28
tetradic
#28761C #1C5576 #6A1C76 #763D1C
square
#28761C #1C5576 #6A1C76 #763D1C
split-complementary
#28761C #3D1C76 #761C55
monochromatic
#081906 #174510 #28761C #39A728 #50D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28761C#FFFFFF#000000##FFFFFF
##28761C1.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)
#796B0B
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#1B7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #28761c;
/* rgb */ color: rgb(40, 118, 28);
/* oklch */ color: oklch(49.9% 0.145 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d9e5f',
    500: '#28761c',
    950: '#000000',
  },
}
SCSS
$custom: #28761c;
$custom-light: #6d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28761c",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 112,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.14507,
    "h": 141.2
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#28761C
secondary
#9D44AA
accent
#43E5CF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28761C

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

Preview Lab → · Contrast checker → · Palette generator →

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