#28962F#28962F

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

Color values

HEX#28962F
RGBrgb(40, 150, 47)
HSLhsl(124, 58%, 37%)
HSVhsv(124, 73%, 59%)
CMYKcmyk(73.3%, 0%, 68.7%, 41.2%)
CIE-LABlab(54.52, -51.10, 43.91)
CIE-LCHlch(54.52, 67.38, 139.33°)
OKLaboklab(59.11% -0.1384 0.1012)
OKLCHoklch(59.11% 0.171 143.8)
XYZxyz(12.2937, 22.4677, 6.3776)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28962F #96288F
analogous
#589628 #28962F #289666
triadic
#28962F #2F2896 #962F28
tetradic
#28962F #285896 #96288F #966628
square
#28962F #285896 #96288F #966628
split-complementary
#28962F #662896 #962858
monochromatic
#0E3511 #1B6620 #28962F #35C63E #63D56A

Accessibility & contrast

On white

3.82
#28962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28962F#FFFFFF#000000##000000
##28962F1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998821
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28962f;
/* rgb */ color: rgb(40, 150, 47);
/* oklch */ color: oklch(59.1% 0.171 143.8);
Tailwind
colors: {
  custom: {
    50: '#73b66d',
    500: '#28962f',
    950: '#000000',
  },
}
SCSS
$custom: #28962f;
$custom-light: #73b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#28962f",
  "rgb": {
    "r": 40,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 123.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.17142,
    "h": 143.8
  },
  "luminance": 0.22469
}

Semantic roles & 50–950 ramp

primary
#28962F
secondary
#BB5FB5
accent
#47D7E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #28962F

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

Preview Lab → · Contrast checker → · Palette generator →

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