#2D942A#2D942A

#2D942A is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.171 H 142.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2D942A
RGBrgb(45, 148, 42)
HSLhsl(118, 56%, 37%)
HSVhsv(118, 72%, 58%)
CMYKcmyk(69.6%, 0%, 71.6%, 42%)
CIE-LABlab(53.92, -49.95, 45.39)
CIE-LCHlch(53.92, 67.49, 137.74°)
OKLaboklab(58.63% -0.1358 0.1036)
OKLCHoklch(58.63% 0.171 142.7)
XYZxyz(12.0893, 21.9036, 5.7807)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D942A #912A94
analogous
#62942A #2D942A #2A945C
triadic
#2D942A #2A2D94 #942A2D
tetradic
#2D942A #2A6294 #912A94 #945C2A
square
#2D942A #2A6294 #912A94 #945C2A
split-complementary
#2D942A #5C2A94 #942A62
monochromatic
#10350F #1F641C #2D942A #3BC438 #68D365

Accessibility & contrast

On white

3.90
#2D942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#2D942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D942A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D942A#FFFFFF#000000##000000
##2D942A1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#12907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2d942a;
/* rgb */ color: rgb(45, 148, 42);
/* oklch */ color: oklch(58.6% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b46a',
    500: '#2d942a',
    950: '#000000',
  },
}
SCSS
$custom: #2d942a;
$custom-light: #75b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d942a",
  "rgb": {
    "r": 45,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 118.302,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.17078,
    "h": 142.7
  },
  "luminance": 0.21905
}

Semantic roles & 50–950 ramp

primary
#2D942A
secondary
#B760B9
accent
#49DFDB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D942A

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

Preview Lab → · Contrast checker → · Palette generator →

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