#28781C#28781C

#28781C is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.148 H 141.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#28781C
RGBrgb(40, 120, 28)
HSLhsl(112, 62%, 29%)
HSVhsv(112, 77%, 47%)
CMYKcmyk(66.7%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.19, -42.13, 40.89)
CIE-LCHlch(44.19, 58.71, 135.86°)
OKLaboklab(50.5% -0.1151 0.0923)
OKLCHoklch(50.5% 0.148 141.3)
XYZxyz(7.8007, 13.9671, 3.3832)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28781C #6C1C78
analogous
#56781C #28781C #1C783E
triadic
#28781C #1C2878 #781C28
tetradic
#28781C #1C5678 #6C1C78 #783E1C
square
#28781C #1C5678 #6C1C78 #783E1C
split-complementary
#28781C #3E1C78 #781C56
monochromatic
#081906 #174610 #28781C #39AA28 #50D23D

Accessibility & contrast

On white

5.54
#28781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#28781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28781C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28781C#FFFFFF#000000##FFFFFF
##28781C1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#1A7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28781c;
/* rgb */ color: rgb(40, 120, 28);
/* oklch */ color: oklch(50.5% 0.148 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea05f',
    500: '#28781c',
    950: '#000000',
  },
}
SCSS
$custom: #28781c;
$custom-light: #6ea05f;
$custom-dark: #000000;
JSON
{
  "hex": "#28781c",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 112.174,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.14756,
    "h": 141.3
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#28781C
secondary
#9E44AC
accent
#43E5D0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #28781C

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

Preview Lab → · Contrast checker → · Palette generator →

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