#2D962B#2D962B

#2D962B is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.173 H 142.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2D962B
RGBrgb(45, 150, 43)
HSLhsl(119, 55%, 38%)
HSVhsv(119, 71%, 59%)
CMYKcmyk(70%, 0%, 71.3%, 41.2%)
CIE-LABlab(54.60, -50.56, 45.69)
CIE-LCHlch(54.60, 68.14, 137.89°)
OKLaboklab(59.19% -0.1374 0.1044)
OKLCHoklch(59.19% 0.173 142.8)
XYZxyz(12.4238, 22.5437, 5.9816)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D962B #942B96
analogous
#62962B #2D962B #2B965F
triadic
#2D962B #2B2D96 #962B2D
tetradic
#2D962B #2B6296 #942B96 #965F2B
square
#2D962B #2B6296 #942B96 #965F2B
split-complementary
#2D962B #5F2B96 #962B62
monochromatic
#103710 #1F661D #2D962B #3BC639 #6AD468

Accessibility & contrast

On white

3.81
#2D962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#2D962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D962B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D962B#FFFFFF#000000##000000
##2D962B1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#8D7F35
Tritanopia (blue-blind)
#109281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2d962b;
/* rgb */ color: rgb(45, 150, 43);
/* oklch */ color: oklch(59.2% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#76b66b',
    500: '#2d962b',
    950: '#000000',
  },
}
SCSS
$custom: #2d962b;
$custom-light: #76b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d962b",
  "rgb": {
    "r": 45,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 118.879,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59194,
    "c": 0.17252,
    "h": 142.8
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#2D962B
secondary
#B863BA
accent
#49DFDC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2D962B

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

Preview Lab → · Contrast checker → · Palette generator →

#2D962B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva