#28901C#28901C

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

Color values

HEX#28901C
RGBrgb(40, 144, 28)
HSLhsl(114, 67%, 34%)
HSVhsv(114, 81%, 56%)
CMYKcmyk(72.2%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.38, -50.64, 48.90)
CIE-LCHlch(52.38, 70.40, 136.00°)
OKLaboklab(57.29% -0.1381 0.109)
OKLCHoklch(57.29% 0.176 141.7)
XYZxyz(11.0573, 20.4803, 4.4687)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28901C #841C90
analogous
#62901C #28901C #1C904A
triadic
#28901C #1C2890 #901C28
tetradic
#28901C #1C6290 #841C90 #904A1C
square
#28901C #1C6290 #841C90 #904A1C
split-complementary
#28901C #4A1C90 #901C62
monochromatic
#0C2A08 #1A5D12 #28901C #36C326 #5ADC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28901C#FFFFFF#000000##000000
##28901C1.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)
#887A2A
Tritanopia (blue-blind)
#0A8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28901c;
/* rgb */ color: rgb(40, 144, 28);
/* oklch */ color: oklch(57.3% 0.176 141.7);
Tailwind
colors: {
  custom: {
    50: '#73b262',
    500: '#28901c',
    950: '#000000',
  },
}
SCSS
$custom: #28901c;
$custom-light: #73b262;
$custom-dark: #000000;
JSON
{
  "hex": "#28901c",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 113.793,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.17593,
    "h": 141.7
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#28901C
secondary
#B24ABE
accent
#3DEAD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #28901C

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

Preview Lab → · Contrast checker → · Palette generator →

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