#2D811C#2D811C

#2D811C is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.157 H 140.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D811C
RGBrgb(45, 129, 28)
HSLhsl(110, 64%, 31%)
HSVhsv(110, 78%, 51%)
CMYKcmyk(65.1%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.42, -44.27, 44.15)
CIE-LCHlch(47.42, 62.53, 135.08°)
OKLaboklab(53.21% -0.1212 0.0991)
OKLCHoklch(53.21% 0.157 140.7)
XYZxyz(9.1416, 16.3414, 3.7708)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D811C #701C81
analogous
#5F811C #2D811C #1C813D
triadic
#2D811C #1C2D81 #811C2D
tetradic
#2D811C #1C5F81 #701C81 #813D1C
square
#2D811C #1C5F81 #701C81 #813D1C
split-complementary
#2D811C #3D1C81 #811C5F
monochromatic
#0A1C06 #1B4F11 #2D811C #3FB327 #5AD642

Accessibility & contrast

On white

4.92
#2D811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2D811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D811C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D811C#FFFFFF#000000##FFFFFF
##2D811C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#1F7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d811c;
/* rgb */ color: rgb(45, 129, 28);
/* oklch */ color: oklch(53.2% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a660',
    500: '#2d811c',
    950: '#000000',
  },
}
SCSS
$custom: #2d811c;
$custom-light: #72a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2d811c",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 109.901,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.15655,
    "h": 140.7
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

primary
#2D811C
secondary
#A244B4
accent
#40E7CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D811C

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

Preview Lab → · Contrast checker → · Palette generator →

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