#28801A#28801A

#28801A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.158 H 141.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#28801A
RGBrgb(40, 128, 26)
HSLhsl(112, 66%, 30%)
HSVhsv(112, 80%, 50%)
CMYKcmyk(68.8%, 0%, 79.7%, 49.8%)
CIE-LABlab(46.93, -45.21, 44.33)
CIE-LCHlch(46.93, 63.31, 135.56°)
OKLaboklab(52.76% -0.1235 0.0992)
OKLCHoklch(52.76% 0.158 141.2)
XYZxyz(8.7802, 15.9631, 3.5956)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28801A #721A80
analogous
#5B801A #28801A #1A803F
triadic
#28801A #1A2880 #801A28
tetradic
#28801A #1A5B80 #721A80 #803F1A
square
#28801A #1A5B80 #721A80 #803F1A
split-complementary
#28801A #3F1A80 #801A5B
monochromatic
#081A05 #184D10 #28801A #38B324 #52D83D

Accessibility & contrast

On white

5.01
#28801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#28801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28801A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28801A#FFFFFF#000000##FFFFFF
##28801A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837401
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#167C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28801a;
/* rgb */ color: rgb(40, 128, 26);
/* oklch */ color: oklch(52.8% 0.158 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa65f',
    500: '#28801a',
    950: '#000000',
  },
}
SCSS
$custom: #28801a;
$custom-light: #6fa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#28801a",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 111.765,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.15842,
    "h": 141.2
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#28801A
secondary
#A442B4
accent
#3FE9D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #28801A

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

Preview Lab → · Contrast checker → · Palette generator →

#28801A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva