#2D7932#2D7932

#2D7932 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.130 H 144.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2D7932
RGBrgb(45, 121, 50)
HSLhsl(124, 46%, 33%)
HSVhsv(124, 63%, 47%)
CMYKcmyk(62.8%, 0%, 58.7%, 52.5%)
CIE-LABlab(44.89, -38.90, 31.68)
CIE-LCHlch(44.89, 50.17, 140.84°)
OKLaboklab(51.19% -0.1054 0.0753)
OKLCHoklch(51.19% 0.13 144.5)
XYZxyz(8.4948, 14.4621, 5.3608)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7932 #792D74
analogous
#4E792D #2D7932 #2D7958
triadic
#2D7932 #322D79 #79322D
tetradic
#2D7932 #2D4E79 #792D74 #79582D
square
#2D7932 #2D4E79 #792D74 #79582D
split-complementary
#2D7932 #582D79 #792D4E
monochromatic
#0C200D #1C4C20 #2D7932 #3EA644 #5DC364

Accessibility & contrast

On white

5.39
#2D7932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2D7932 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7932
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7932#FFFFFF#000000##FFFFFF
##2D79321.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2B
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#1D7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7932;
/* rgb */ color: rgb(45, 121, 50);
/* oklch */ color: oklch(51.2% 0.130 144.5);
Tailwind
colors: {
  custom: {
    50: '#6fa06c',
    500: '#2d7932',
    950: '#000000',
  },
}
SCSS
$custom: #2d7932;
$custom-light: #6fa06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7932",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 123.947,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.12955,
    "h": 144.5
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#2D7932
secondary
#A958A4
accent
#52CDD5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7932

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

Preview Lab → · Contrast checker → · Palette generator →

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