#2D942B#2D942B

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

Color values

HEX#2D942B
RGBrgb(45, 148, 43)
HSLhsl(119, 55%, 37%)
HSVhsv(119, 71%, 58%)
CMYKcmyk(69.6%, 0%, 70.9%, 42%)
CIE-LABlab(53.93, -49.85, 44.99)
CIE-LCHlch(53.93, 67.15, 137.93°)
OKLaboklab(58.64% -0.1355 0.1029)
OKLCHoklch(58.64% 0.17 142.8)
XYZxyz(12.1074, 21.9108, 5.8762)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D942B #922B94
analogous
#62942B #2D942B #2B945D
triadic
#2D942B #2B2D94 #942B2D
tetradic
#2D942B #2B6294 #922B94 #945D2B
square
#2D942B #2B6294 #922B94 #945D2B
split-complementary
#2D942B #5D2B94 #942B62
monochromatic
#10350F #1F651D #2D942B #3BC339 #69D367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D942B#FFFFFF#000000##000000
##2D942B1.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)
#97861B
Deuteranopia (green-blind)
#8B7E35
Tritanopia (blue-blind)
#12907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2d942b;
/* rgb */ color: rgb(45, 148, 43);
/* oklch */ color: oklch(58.6% 0.170 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b46a',
    500: '#2d942b',
    950: '#000000',
  },
}
SCSS
$custom: #2d942b;
$custom-light: #75b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d942b",
  "rgb": {
    "r": 45,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 118.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.17012,
    "h": 142.8
  },
  "luminance": 0.21912
}

Semantic roles & 50–950 ramp

primary
#2D942B
secondary
#B762B9
accent
#49DEDB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D942B

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

Preview Lab → · Contrast checker → · Palette generator →

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