#2D862D#2D862D

#2D862D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.151 H 143.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D862D
RGBrgb(45, 134, 45)
HSLhsl(120, 50%, 35%)
HSVhsv(120, 66%, 53%)
CMYKcmyk(66.4%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.25, -44.57, 39.08)
CIE-LCHlch(49.25, 59.28, 138.75°)
OKLaboklab(54.77% -0.121 0.0907)
OKLCHoklch(54.77% 0.151 143.2)
XYZxyz(10.0804, 17.7965, 5.3860)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D862D #862D86
analogous
#59862D #2D862D #2D8659
triadic
#2D862D #2D2D86 #862D2D
tetradic
#2D862D #2D5986 #862D86 #86592D
square
#2D862D #2D5986 #862D86 #86592D
split-complementary
#2D862D #592D86 #862D59
monochromatic
#0E2A0E #1E581E #2D862D #3CB43C #63CB63

Accessibility & contrast

On white

4.61
#2D862D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2D862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D862D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D862D#FFFFFF#000000##FFFFFF
##2D862D1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#198273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d862d;
/* rgb */ color: rgb(45, 134, 45);
/* oklch */ color: oklch(54.8% 0.151 143.2);
Tailwind
colors: {
  custom: {
    50: '#72aa6a',
    500: '#2d862d',
    950: '#000000',
  },
}
SCSS
$custom: #2d862d;
$custom-light: #72aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d862d",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.15123,
    "h": 143.2
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#2D862D
secondary
#B15EB1
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D862D

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

Preview Lab → · Contrast checker → · Palette generator →

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