#2D6E1C#2D6E1C

#2D6E1C is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.133 H 139.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2D6E1C
RGBrgb(45, 110, 28)
HSLhsl(108, 59%, 27%)
HSVhsv(108, 75%, 43%)
CMYKcmyk(59.1%, 0%, 74.5%, 56.9%)
CIE-LABlab(40.89, -36.94, 37.59)
CIE-LCHlch(40.89, 52.70, 134.51°)
OKLaboklab(47.81% -0.1014 0.0854)
OKLCHoklch(47.81% 0.133 139.9)
XYZxyz(6.8674, 11.7930, 3.0128)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E1C #5D1C6E
analogous
#566E1C #2D6E1C #1C6E34
triadic
#2D6E1C #1C2D6E #6E1C2D
tetradic
#2D6E1C #1C566E #5D1C6E #6E341C
square
#2D6E1C #1C566E #5D1C6E #6E341C
split-complementary
#2D6E1C #341C6E #6E1C56
monochromatic
#0A1806 #193D10 #2D6E1C #419F28 #57CC38

Accessibility & contrast

On white

6.25
#2D6E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D6E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E1C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E1C#FFFFFF#000000##FFFFFF
##2D6E1C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#256A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e1c;
/* rgb */ color: rgb(45, 110, 28);
/* oklch */ color: oklch(47.8% 0.133 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e985e',
    500: '#2d6e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e1c;
$custom-light: #6e985e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e1c",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 107.561,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.13256,
    "h": 139.9
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#2D6E1C
secondary
#8F43A3
accent
#45E3C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2D6E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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