#2D6811#2D6811

#2D6811 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.131 H 138.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D6811
RGBrgb(45, 104, 17)
HSLhsl(101, 72%, 24%)
HSVhsv(101, 84%, 41%)
CMYKcmyk(56.7%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.72, -35.32, 39.60)
CIE-LCHlch(38.72, 53.07, 131.73°)
OKLaboklab(46.01% -0.0977 0.0879)
OKLCHoklch(46.01% 0.131 138)
XYZxyz(6.1335, 10.4985, 2.2334)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6811 #4C1168
analogous
#586811 #2D6811 #116820
triadic
#2D6811 #112D68 #68112D
tetradic
#2D6811 #115868 #4C1168 #682011
square
#2D6811 #115868 #4C1168 #682011
split-complementary
#2D6811 #201168 #681158
monochromatic
#0B1A04 #163308 #2D6811 #449D1A #5BD122

Accessibility & contrast

On white

6.77
#2D6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6811
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6811#FFFFFF#000000##FFFFFF
##2D68111.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#286458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d6811;
/* rgb */ color: rgb(45, 104, 17);
/* oklch */ color: oklch(46.0% 0.131 138.0);
Tailwind
colors: {
  custom: {
    50: '#6d9457',
    500: '#2d6811',
    950: '#000000',
  },
}
SCSS
$custom: #2d6811;
$custom-light: #6d9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6811",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 100.69,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.13146,
    "h": 138
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#2D6811
secondary
#7D35A0
accent
#39EFB4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2D6811

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

Preview Lab → · Contrast checker → · Palette generator →

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