#28902C#28902C

#28902C is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.166 H 143.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#28902C
RGBrgb(40, 144, 44)
HSLhsl(122, 57%, 36%)
HSVhsv(122, 72%, 56%)
CMYKcmyk(72.2%, 0%, 69.4%, 43.5%)
CIE-LABlab(52.48, -49.32, 43.00)
CIE-LCHlch(52.48, 65.44, 138.91°)
OKLaboklab(57.41% -0.1337 0.0989)
OKLCHoklch(57.41% 0.166 143.5)
XYZxyz(11.3022, 20.5782, 5.7587)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28902C #90288C
analogous
#589028 #28902C #289060
triadic
#28902C #2C2890 #902C28
tetradic
#28902C #285890 #90288C #906028
square
#28902C #285890 #90288C #906028
split-complementary
#28902C #602890 #902858
monochromatic
#0D300F #1B601D #28902C #35C03B #60D364

Accessibility & contrast

On white

4.10
#28902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#28902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28902C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28902C#FFFFFF#000000##000000
##28902C1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#028C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28902c;
/* rgb */ color: rgb(40, 144, 44);
/* oklch */ color: oklch(57.4% 0.166 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b26a',
    500: '#28902c',
    950: '#000000',
  },
}
SCSS
$custom: #28902c;
$custom-light: #72b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#28902c",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 122.308,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.16629,
    "h": 143.5
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#28902C
secondary
#B85CB5
accent
#48DAE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28902C

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

Preview Lab → · Contrast checker → · Palette generator →

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