#2D912A#2D912A

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

Color values

HEX#2D912A
RGBrgb(45, 145, 42)
HSLhsl(118, 55%, 37%)
HSVhsv(118, 71%, 57%)
CMYKcmyk(69%, 0%, 71%, 43.1%)
CIE-LABlab(52.92, -48.89, 44.34)
CIE-LCHlch(52.92, 66.00, 137.79°)
OKLaboklab(57.8% -0.1329 0.1014)
OKLCHoklch(57.8% 0.167 142.7)
XYZxyz(11.6248, 20.9746, 5.6259)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D912A #8E2A91
analogous
#61912A #2D912A #2A915B
triadic
#2D912A #2A2D91 #912A2D
tetradic
#2D912A #2A6191 #8E2A91 #915B2A
square
#2D912A #2A6191 #8E2A91 #915B2A
split-complementary
#2D912A #5B2A91 #912A61
monochromatic
#10320F #1E621C #2D912A #3CC038 #67D263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D912A#FFFFFF#000000##000000
##2D912A1.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)
#94831A
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#148D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d912a;
/* rgb */ color: rgb(45, 145, 42);
/* oklch */ color: oklch(57.8% 0.167 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b269',
    500: '#2d912a',
    950: '#000000',
  },
}
SCSS
$custom: #2d912a;
$custom-light: #75b269;
$custom-dark: #000000;
JSON
{
  "hex": "#2d912a",
  "rgb": {
    "r": 45,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 118.252,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.16717,
    "h": 142.7
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#2D912A
secondary
#B55FB8
accent
#49DEDA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D912A

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

Preview Lab → · Contrast checker → · Palette generator →

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