#2D812E#2D812E

#2D812E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.144 H 143.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2D812E
RGBrgb(45, 129, 46)
HSLhsl(121, 48%, 34%)
HSVhsv(121, 65%, 51%)
CMYKcmyk(65.1%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.57, -42.56, 36.74)
CIE-LCHlch(47.57, 56.22, 139.20°)
OKLaboklab(53.38% -0.1155 0.0858)
OKLCHoklch(53.38% 0.144 143.4)
XYZxyz(9.4250, 16.4547, 5.2636)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D812E #812D80
analogous
#56812D #2D812E #2D8158
triadic
#2D812E #2E2D81 #812E2D
tetradic
#2D812E #2D5681 #812D80 #81582D
square
#2D812E #2D5681 #812D80 #81582D
split-complementary
#2D812E #582D81 #812D56
monochromatic
#0D260E #1D541E #2D812E #3DAE3E #61C862

Accessibility & contrast

On white

4.89
#2D812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2D812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D812E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D812E#FFFFFF#000000##FFFFFF
##2D812E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#1B7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d812e;
/* rgb */ color: rgb(45, 129, 46);
/* oklch */ color: oklch(53.4% 0.144 143.4);
Tailwind
colors: {
  custom: {
    50: '#71a66a',
    500: '#2d812e',
    950: '#000000',
  },
}
SCSS
$custom: #2d812e;
$custom-light: #71a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d812e",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 120.714,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.14392,
    "h": 143.4
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#2D812E
secondary
#AE5CAD
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D812E

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

Preview Lab → · Contrast checker → · Palette generator →

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