#2D861B#2D861B

#2D861B is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.163 H 140.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D861B
RGBrgb(45, 134, 27)
HSLhsl(110, 66%, 32%)
HSVhsv(110, 80%, 53%)
CMYKcmyk(66.4%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.11, -46.17, 46.15)
CIE-LCHlch(49.11, 65.27, 135.01°)
OKLaboklab(54.61% -0.1263 0.1031)
OKLCHoklch(54.61% 0.163 140.8)
XYZxyz(9.8046, 17.6862, 3.9338)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D861B #741B86
analogous
#63861B #2D861B #1B863F
triadic
#2D861B #1B2D86 #861B2D
tetradic
#2D861B #1B6386 #741B86 #863F1B
square
#2D861B #1B6386 #741B86 #863F1B
split-complementary
#2D861B #3F1B86 #861B63
monochromatic
#0B2006 #1C5311 #2D861B #3EB925 #5CD942

Accessibility & contrast

On white

4.63
#2D861B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2D861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D861B
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D861B#FFFFFF#000000##FFFFFF
##2D861B1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#1E8272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d861b;
/* rgb */ color: rgb(45, 134, 27);
/* oklch */ color: oklch(54.6% 0.163 140.8);
Tailwind
colors: {
  custom: {
    50: '#73aa60',
    500: '#2d861b',
    950: '#000000',
  },
}
SCSS
$custom: #2d861b;
$custom-light: #73aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d861b",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 109.907,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.16308,
    "h": 140.8
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#2D861B
secondary
#A544B9
accent
#3EE9CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D861B

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

Preview Lab → · Contrast checker → · Palette generator →

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