#2D941F#2D941F

#2D941F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.177 H 141.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D941F
RGBrgb(45, 148, 31)
HSLhsl(113, 65%, 35%)
HSVhsv(113, 79%, 58%)
CMYKcmyk(69.6%, 0%, 79.1%, 42%)
CIE-LABlab(53.85, -50.82, 49.38)
CIE-LCHlch(53.85, 70.86, 135.82°)
OKLaboklab(58.55% -0.1387 0.1104)
OKLCHoklch(58.55% 0.177 141.5)
XYZxyz(11.9188, 21.8354, 4.8826)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D941F #861F94
analogous
#67941F #2D941F #1F944C
triadic
#2D941F #1F2D94 #941F2D
tetradic
#2D941F #1F6794 #861F94 #944C1F
square
#2D941F #1F6794 #861F94 #944C1F
split-complementary
#2D941F #4C1F94 #941F67
monochromatic
#0E2F0A #1E6114 #2D941F #3CC72A #63DB53

Accessibility & contrast

On white

3.91
#2D941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#2D941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D941F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D941F#FFFFFF#000000##000000
##2D941F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#168F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2d941f;
/* rgb */ color: rgb(45, 148, 31);
/* oklch */ color: oklch(58.5% 0.177 141.5);
Tailwind
colors: {
  custom: {
    50: '#76b464',
    500: '#2d941f',
    950: '#000000',
  },
}
SCSS
$custom: #2d941f;
$custom-light: #76b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2d941f",
  "rgb": {
    "r": 45,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 112.821,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.17729,
    "h": 141.5
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#2D941F
secondary
#B151BE
accent
#3FE8D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D941F

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

Preview Lab → · Contrast checker → · Palette generator →

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