#28801B#28801B

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

Color values

HEX#28801B
RGBrgb(40, 128, 27)
HSLhsl(112, 65%, 30%)
HSVhsv(112, 79%, 50%)
CMYKcmyk(68.8%, 0%, 78.9%, 49.8%)
CIE-LABlab(46.93, -45.14, 43.98)
CIE-LCHlch(46.93, 63.02, 135.74°)
OKLaboklab(52.77% -0.1233 0.0986)
OKLCHoklch(52.77% 0.158 141.3)
XYZxyz(8.7916, 15.9677, 3.6555)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28801B #731B80
analogous
#5A801B #28801B #1B8040
triadic
#28801B #1B2880 #801B28
tetradic
#28801B #1B5A80 #731B80 #80401B
square
#28801B #1B5A80 #731B80 #80401B
split-complementary
#28801B #401B80 #801B5A
monochromatic
#081B06 #184D10 #28801B #38B326 #52D63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28801B#FFFFFF#000000##FFFFFF
##28801B1.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)
#837403
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#167C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28801b;
/* rgb */ color: rgb(40, 128, 27);
/* oklch */ color: oklch(52.8% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa65f',
    500: '#28801b',
    950: '#000000',
  },
}
SCSS
$custom: #28801b;
$custom-light: #6fa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#28801b",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 112.277,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.15787,
    "h": 141.3
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#28801B
secondary
#A543B4
accent
#40E8D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #28801B

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

Preview Lab → · Contrast checker → · Palette generator →

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