#28902B#28902B

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

Color values

HEX#28902B
RGBrgb(40, 144, 43)
HSLhsl(122, 57%, 36%)
HSVhsv(122, 72%, 56%)
CMYKcmyk(72.2%, 0%, 70.1%, 43.5%)
CIE-LABlab(52.48, -49.42, 43.42)
CIE-LCHlch(52.48, 65.78, 138.70°)
OKLaboklab(57.4% -0.134 0.0996)
OKLCHoklch(57.4% 0.167 143.4)
XYZxyz(11.2837, 20.5708, 5.6609)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28902B #90288D
analogous
#599028 #28902B #28905F
triadic
#28902B #2B2890 #902B28
tetradic
#28902B #285990 #90288D #905F28
square
#28902B #285990 #90288D #905F28
split-complementary
#28902B #5F2890 #902859
monochromatic
#0D300E #1B601D #28902B #35C039 #60D363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28902B#FFFFFF#000000##000000
##28902B1.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)
#93821C
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#038C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #28902b;
/* rgb */ color: rgb(40, 144, 43);
/* oklch */ color: oklch(57.4% 0.167 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b26a',
    500: '#28902b',
    950: '#000000',
  },
}
SCSS
$custom: #28902b;
$custom-light: #72b26a;
$custom-dark: #000000;
JSON
{
  "hex": "#28902b",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 121.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.16699,
    "h": 143.4
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28902B

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

Preview Lab → · Contrast checker → · Palette generator →

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