#28962A#28962A

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

Color values

HEX#28962A
RGBrgb(40, 150, 42)
HSLhsl(121, 58%, 37%)
HSVhsv(121, 73%, 59%)
CMYKcmyk(73.3%, 0%, 72%, 41.2%)
CIE-LABlab(54.48, -51.58, 45.94)
CIE-LCHlch(54.48, 69.07, 138.31°)
OKLaboklab(59.06% -0.1399 0.1048)
OKLCHoklch(59.06% 0.175 143.2)
XYZxyz(12.1986, 22.4296, 5.8765)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28962A #962894
analogous
#5D9628 #28962A #289661
triadic
#28962A #2A2896 #962A28
tetradic
#28962A #285D96 #962894 #966128
square
#28962A #285D96 #962894 #966128
split-complementary
#28962A #612896 #96285D
monochromatic
#0E350F #1B661C #28962A #35C638 #63D565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28962A#FFFFFF#000000##000000
##28962A1.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)
#998819
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28962a;
/* rgb */ color: rgb(40, 150, 42);
/* oklch */ color: oklch(59.1% 0.175 143.2);
Tailwind
colors: {
  custom: {
    50: '#74b66a',
    500: '#28962a',
    950: '#000000',
  },
}
SCSS
$custom: #28962a;
$custom-light: #74b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#28962a",
  "rgb": {
    "r": 40,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 121.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.17482,
    "h": 143.2
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28962A

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

Preview Lab → · Contrast checker → · Palette generator →

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