#2D921F#2D921F

#2D921F is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.175 H 141.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D921F
RGBrgb(45, 146, 31)
HSLhsl(113, 65%, 35%)
HSVhsv(113, 79%, 57%)
CMYKcmyk(69.2%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.18, -50.13, 48.73)
CIE-LCHlch(53.18, 69.91, 135.81°)
OKLaboklab(57.99% -0.1368 0.1091)
OKLCHoklch(57.99% 0.175 141.4)
XYZxyz(11.6078, 21.2134, 4.7789)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D921F #841F92
analogous
#66921F #2D921F #1F924B
triadic
#2D921F #1F2D92 #921F2D
tetradic
#2D921F #1F6692 #841F92 #924B1F
square
#2D921F #1F6692 #841F92 #924B1F
split-complementary
#2D921F #4B1F92 #921F66
monochromatic
#0E2D0A #1D6014 #2D921F #3DC42A #62DA51

Accessibility & contrast

On white

4.01
#2D921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2D921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D921F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D921F#FFFFFF#000000##000000
##2D921F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#178D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d921f;
/* rgb */ color: rgb(45, 146, 31);
/* oklch */ color: oklch(58.0% 0.175 141.4);
Tailwind
colors: {
  custom: {
    50: '#75b364',
    500: '#2d921f',
    950: '#000000',
  },
}
SCSS
$custom: #2d921f;
$custom-light: #75b364;
$custom-dark: #000000;
JSON
{
  "hex": "#2d921f",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 112.696,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.17499,
    "h": 141.4
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#2D921F
secondary
#B050BD
accent
#40E8D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D921F

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

Preview Lab → · Contrast checker → · Palette generator →

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