#2D851C#2D851C

#2D851C is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.161 H 140.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D851C
RGBrgb(45, 133, 28)
HSLhsl(110, 65%, 32%)
HSVhsv(110, 79%, 52%)
CMYKcmyk(66.2%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.78, -45.74, 45.48)
CIE-LCHlch(48.78, 64.50, 135.16°)
OKLaboklab(54.34% -0.1251 0.1019)
OKLCHoklch(54.34% 0.161 140.9)
XYZxyz(9.6788, 17.4158, 3.9499)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D851C #741C85
analogous
#62851C #2D851C #1C8540
triadic
#2D851C #1C2D85 #851C2D
tetradic
#2D851C #1C6285 #741C85 #85401C
square
#2D851C #1C6285 #741C85 #85401C
split-complementary
#2D851C #401C85 #851C62
monochromatic
#0B2007 #1C5211 #2D851C #3EB827 #5CD844

Accessibility & contrast

On white

4.68
#2D851C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2D851C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D851C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D851C#FFFFFF#000000##FFFFFF
##2D851C1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#1E8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d851c;
/* rgb */ color: rgb(45, 133, 28);
/* oklch */ color: oklch(54.3% 0.161 140.9);
Tailwind
colors: {
  custom: {
    50: '#73a961',
    500: '#2d851c',
    950: '#000000',
  },
}
SCSS
$custom: #2d851c;
$custom-light: #73a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2d851c",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 110.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.16136,
    "h": 140.9
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#2D851C
secondary
#A545B8
accent
#40E8CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D851C

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

Preview Lab → · Contrast checker → · Palette generator →

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