#28962B#28962B

#28962B is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.174 H 143.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#28962B
RGBrgb(40, 150, 43)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 73%, 59%)
CMYKcmyk(73.3%, 0%, 71.3%, 41.2%)
CIE-LABlab(54.49, -51.49, 45.54)
CIE-LCHlch(54.49, 68.74, 138.51°)
OKLaboklab(59.07% -0.1396 0.1041)
OKLCHoklch(59.07% 0.174 143.3)
XYZxyz(12.2167, 22.4369, 5.9719)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28962B #962893
analogous
#5C9628 #28962B #289662
triadic
#28962B #2B2896 #962B28
tetradic
#28962B #285C96 #962893 #966228
square
#28962B #285C96 #962893 #966228
split-complementary
#28962B #622896 #96285C
monochromatic
#0E350F #1B661D #28962B #35C639 #63D566

Accessibility & contrast

On white

3.83
#28962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#28962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28962B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28962B#FFFFFF#000000##000000
##28962B1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881B
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28962b;
/* rgb */ color: rgb(40, 150, 43);
/* oklch */ color: oklch(59.1% 0.174 143.3);
Tailwind
colors: {
  custom: {
    50: '#74b66a',
    500: '#28962b',
    950: '#000000',
  },
}
SCSS
$custom: #28962b;
$custom-light: #74b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#28962b",
  "rgb": {
    "r": 40,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 121.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59069,
    "c": 0.17416,
    "h": 143.3
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#28962B
secondary
#BB5FB9
accent
#47DDE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28962B

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

Preview Lab → · Contrast checker → · Palette generator →

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