#28962C#28962C

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

Color values

HEX#28962C
RGBrgb(40, 150, 44)
HSLhsl(122, 58%, 37%)
HSVhsv(122, 73%, 59%)
CMYKcmyk(73.3%, 0%, 70.7%, 41.2%)
CIE-LABlab(54.50, -51.40, 45.14)
CIE-LCHlch(54.50, 68.41, 138.71°)
OKLaboklab(59.08% -0.1393 0.1034)
OKLCHoklch(59.08% 0.174 143.4)
XYZxyz(12.2353, 22.4443, 6.0697)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28962C #962892
analogous
#5B9628 #28962C #289663
triadic
#28962C #2C2896 #962C28
tetradic
#28962C #285B96 #962892 #966328
square
#28962C #285B96 #962892 #966328
split-complementary
#28962C #632896 #96285B
monochromatic
#0E3510 #1B661E #28962C #35C63A #63D567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28962C#FFFFFF#000000##000000
##28962C1.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)
#99881C
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28962c;
/* rgb */ color: rgb(40, 150, 44);
/* oklch */ color: oklch(59.1% 0.173 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b66b',
    500: '#28962c',
    950: '#000000',
  },
}
SCSS
$custom: #28962c;
$custom-light: #74b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#28962c",
  "rgb": {
    "r": 40,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 122.182,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59078,
    "c": 0.1735,
    "h": 143.4
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#28962C
secondary
#BB5FB8
accent
#47DCE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #28962C

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

Preview Lab → · Contrast checker → · Palette generator →

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