#2D912F#2D912F

#2D912F is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.164 H 143.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2D912F
RGBrgb(45, 145, 47)
HSLhsl(121, 53%, 37%)
HSVhsv(121, 69%, 57%)
CMYKcmyk(69%, 0%, 67.6%, 43.1%)
CIE-LABlab(52.96, -48.39, 42.26)
CIE-LCHlch(52.96, 64.25, 138.87°)
OKLaboklab(57.85% -0.1313 0.0976)
OKLCHoklch(57.85% 0.164 143.4)
XYZxyz(11.7200, 21.0127, 6.1270)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D912F #912D8F
analogous
#5D912D #2D912F #2D9161
triadic
#2D912F #2F2D91 #912F2D
tetradic
#2D912F #2D5D91 #912D8F #91612D
square
#2D912F #2D5D91 #912D8F #91612D
split-complementary
#2D912F #612D91 #912D5D
monochromatic
#103411 #1F6220 #2D912F #3BC03E #68D06A

Accessibility & contrast

On white

4.04
#2D912F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2D912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D912F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D912F#FFFFFF#000000##000000
##2D912F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#128D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d912f;
/* rgb */ color: rgb(45, 145, 47);
/* oklch */ color: oklch(57.8% 0.164 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b26c',
    500: '#2d912f',
    950: '#000000',
  },
}
SCSS
$custom: #2d912f;
$custom-light: #74b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d912f",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 121.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.16361,
    "h": 143.4
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#2D912F
secondary
#B763B5
accent
#4CD9DC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D912F

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

Preview Lab → · Contrast checker → · Palette generator →

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