#28942B#28942B

#28942B is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.172 H 143.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#28942B
RGBrgb(40, 148, 43)
HSLhsl(122, 57%, 37%)
HSVhsv(122, 73%, 58%)
CMYKcmyk(73%, 0%, 70.9%, 42%)
CIE-LABlab(53.82, -50.81, 44.84)
CIE-LCHlch(53.82, 67.76, 138.57°)
OKLaboklab(58.51% -0.1378 0.1026)
OKLCHoklch(58.51% 0.172 143.3)
XYZxyz(11.9003, 21.8040, 5.8665)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28942B #942891
analogous
#5B9428 #28942B #289461
triadic
#28942B #2B2894 #942B28
tetradic
#28942B #285B94 #942891 #946128
square
#28942B #285B94 #942891 #946128
split-complementary
#28942B #612894 #94285B
monochromatic
#0E340F #1B641D #28942B #35C439 #62D565

Accessibility & contrast

On white

3.92
#28942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#28942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28942B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28942B#FFFFFF#000000##000000
##28942B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861B
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28942b;
/* rgb */ color: rgb(40, 148, 43);
/* oklch */ color: oklch(58.5% 0.172 143.3);
Tailwind
colors: {
  custom: {
    50: '#73b46a',
    500: '#28942b',
    950: '#000000',
  },
}
SCSS
$custom: #28942b;
$custom-light: #73b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#28942b",
  "rgb": {
    "r": 40,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 121.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.17179,
    "h": 143.3
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#28942B
secondary
#BA5EB8
accent
#47DCE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28942B

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

Preview Lab → · Contrast checker → · Palette generator →

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