#28901B#28901B

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

Color values

HEX#28901B
RGBrgb(40, 144, 27)
HSLhsl(113, 68%, 34%)
HSVhsv(113, 81%, 56%)
CMYKcmyk(72.2%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.37, -50.70, 49.21)
CIE-LCHlch(52.37, 70.66, 135.85°)
OKLaboklab(57.28% -0.1383 0.1096)
OKLCHoklch(57.28% 0.176 141.6)
XYZxyz(11.0455, 20.4756, 4.4068)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28901B #831B90
analogous
#62901B #28901B #1B9048
triadic
#28901B #1B2890 #901B28
tetradic
#28901B #1B6290 #831B90 #90481B
square
#28901B #1B6290 #831B90 #90481B
split-complementary
#28901B #481B90 #901B62
monochromatic
#0B2908 #1A5C11 #28901B #36C425 #59DD49

Accessibility & contrast

On white

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

On black

5.10
#28901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28901B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28901B#FFFFFF#000000##000000
##28901B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.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: #28901b;
/* rgb */ color: rgb(40, 144, 27);
/* oklch */ color: oklch(57.3% 0.176 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b262',
    500: '#28901b',
    950: '#000000',
  },
}
SCSS
$custom: #28901b;
$custom-light: #73b262;
$custom-dark: #000000;
JSON
{
  "hex": "#28901b",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 113.333,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.17642,
    "h": 141.6
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#28901B
secondary
#B148BF
accent
#3DEBD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28901B

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

Preview Lab → · Contrast checker → · Palette generator →

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