#2D931F#2D931F

#2D931F is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.3% C 0.176 H 141.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2D931F
RGBrgb(45, 147, 31)
HSLhsl(113, 65%, 35%)
HSVhsv(113, 79%, 58%)
CMYKcmyk(69.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.52, -50.48, 49.06)
CIE-LCHlch(53.52, 70.39, 135.82°)
OKLaboklab(58.27% -0.1378 0.1098)
OKLCHoklch(58.27% 0.176 141.5)
XYZxyz(11.7626, 21.5230, 4.8305)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D931F #851F93
analogous
#67931F #2D931F #1F934B
triadic
#2D931F #1F2D93 #931F2D
tetradic
#2D931F #1F6793 #851F93 #934B1F
square
#2D931F #1F6793 #851F93 #934B1F
split-complementary
#2D931F #4B1F93 #931F67
monochromatic
#0E2E0A #1E6014 #2D931F #3CC62A #62DA52

Accessibility & contrast

On white

3.96
#2D931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#2D931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D931F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D931F#FFFFFF#000000##000000
##2D931F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#168E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2d931f;
/* rgb */ color: rgb(45, 147, 31);
/* oklch */ color: oklch(58.3% 0.176 141.5);
Tailwind
colors: {
  custom: {
    50: '#75b464',
    500: '#2d931f',
    950: '#000000',
  },
}
SCSS
$custom: #2d931f;
$custom-light: #75b464;
$custom-dark: #000000;
JSON
{
  "hex": "#2d931f",
  "rgb": {
    "r": 45,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 112.759,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.17614,
    "h": 141.5
  },
  "luminance": 0.21524
}

Semantic roles & 50–950 ramp

primary
#2D931F
secondary
#B050BE
accent
#40E8D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D931F

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

Preview Lab → · Contrast checker → · Palette generator →

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