#2D851E#2D851E

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

Color values

HEX#2D851E
RGBrgb(45, 133, 30)
HSLhsl(111, 63%, 32%)
HSVhsv(111, 77%, 52%)
CMYKcmyk(66.2%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.79, -45.59, 44.78)
CIE-LCHlch(48.79, 63.91, 135.51°)
OKLaboklab(54.35% -0.1246 0.1007)
OKLCHoklch(54.35% 0.16 141.1)
XYZxyz(9.7036, 17.4257, 4.0802)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D851E #761E85
analogous
#61851E #2D851E #1E8543
triadic
#2D851E #1E2D85 #851E2D
tetradic
#2D851E #1E6185 #761E85 #85431E
square
#2D851E #1E6185 #761E85 #85431E
split-complementary
#2D851E #431E85 #851E61
monochromatic
#0B2107 #1C5313 #2D851E #3EB729 #5CD648

Accessibility & contrast

On white

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

On black

4.49
#2D851E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D851E#FFFFFF#000000##FFFFFF
##2D851E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897807
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#1D8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d851e;
/* rgb */ color: rgb(45, 133, 30);
/* oklch */ color: oklch(54.4% 0.160 141.1);
Tailwind
colors: {
  custom: {
    50: '#73a962',
    500: '#2d851e',
    950: '#000000',
  },
}
SCSS
$custom: #2d851e;
$custom-light: #73a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2d851e",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 111.262,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.16023,
    "h": 141.1
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#2D851E
secondary
#A747B8
accent
#42E6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D851E

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

Preview Lab → · Contrast checker → · Palette generator →

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