#28902A#28902A

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

Color values

HEX#28902A
RGBrgb(40, 144, 42)
HSLhsl(121, 57%, 36%)
HSVhsv(121, 72%, 56%)
CMYKcmyk(72.2%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.47, -49.52, 43.83)
CIE-LCHlch(52.47, 66.12, 138.49°)
OKLaboklab(57.39% -0.1343 0.1004)
OKLCHoklch(57.39% 0.168 143.2)
XYZxyz(11.2656, 20.5636, 5.5655)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28902A #90288E
analogous
#5A9028 #28902A #28905E
triadic
#28902A #2A2890 #902A28
tetradic
#28902A #285A90 #90288E #905E28
square
#28902A #285A90 #90288E #905E28
split-complementary
#28902A #5E2890 #90285A
monochromatic
#0D300E #1B601C #28902A #35C038 #60D362

Accessibility & contrast

On white

4.11
#28902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#28902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28902A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28902A#FFFFFF#000000##000000
##28902A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#048C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28902a;
/* rgb */ color: rgb(40, 144, 42);
/* oklch */ color: oklch(57.4% 0.168 143.2);
Tailwind
colors: {
  custom: {
    50: '#72b269',
    500: '#28902a',
    950: '#000000',
  },
}
SCSS
$custom: #28902a;
$custom-light: #72b269;
$custom-dark: #000000;
JSON
{
  "hex": "#28902a",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 121.154,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.16767,
    "h": 143.2
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#28902A
secondary
#B85CB6
accent
#48DDE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28902A

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

Preview Lab → · Contrast checker → · Palette generator →

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