#28901A#28901A

#28901A is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.177 H 141.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#28901A
RGBrgb(40, 144, 26)
HSLhsl(113, 69%, 33%)
HSVhsv(113, 82%, 56%)
CMYKcmyk(72.2%, 0%, 81.9%, 43.5%)
CIE-LABlab(52.37, -50.76, 49.52)
CIE-LCHlch(52.37, 70.92, 135.71°)
OKLaboklab(57.27% -0.1385 0.11)
OKLCHoklch(57.27% 0.177 141.5)
XYZxyz(11.0342, 20.4710, 4.3469)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28901A #821A90
analogous
#63901A #28901A #1A9047
triadic
#28901A #1A2890 #901A28
tetradic
#28901A #1A6390 #821A90 #90471A
square
#28901A #1A6390 #821A90 #90471A
split-complementary
#28901A #471A90 #901A63
monochromatic
#0B2807 #1A5C11 #28901A #36C423 #59DE47

Accessibility & contrast

On white

4.12
#28901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#28901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28901A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28901A#FFFFFF#000000##000000
##28901A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#0B8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28901a;
/* rgb */ color: rgb(40, 144, 26);
/* oklch */ color: oklch(57.3% 0.177 141.5);
Tailwind
colors: {
  custom: {
    50: '#73b261',
    500: '#28901a',
    950: '#000000',
  },
}
SCSS
$custom: #28901a;
$custom-light: #73b261;
$custom-dark: #000000;
JSON
{
  "hex": "#28901a",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 112.881,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.1769,
    "h": 141.5
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#28901A
secondary
#B147BF
accent
#3CECD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #28901A

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

Preview Lab → · Contrast checker → · Palette generator →

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