#2D6C1F#2D6C1F

#2D6C1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.128 H 140.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2D6C1F
RGBrgb(45, 108, 31)
HSLhsl(109, 55%, 27%)
HSVhsv(109, 71%, 42%)
CMYKcmyk(58.3%, 0%, 71.3%, 57.6%)
CIE-LABlab(40.22, -35.85, 35.59)
CIE-LCHlch(40.22, 50.51, 135.21°)
OKLaboklab(47.27% -0.0982 0.0816)
OKLCHoklch(47.27% 0.128 140.3)
XYZxyz(6.6918, 11.3814, 3.1402)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C1F #5E1F6C
analogous
#546C1F #2D6C1F #1F6C38
triadic
#2D6C1F #1F2D6C #6C1F2D
tetradic
#2D6C1F #1F546C #5E1F6C #6C381F
square
#2D6C1F #1F546C #5E1F6C #6C381F
split-complementary
#2D6C1F #381F6C #6C1F54
monochromatic
#0A1807 #193C11 #2D6C1F #419C2D #57C83E

Accessibility & contrast

On white

6.41
#2D6C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2D6C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6C1F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C1F#FFFFFF#000000##FFFFFF
##2D6C1F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#26685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6c1f;
/* rgb */ color: rgb(45, 108, 31);
/* oklch */ color: oklch(47.3% 0.128 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d975f',
    500: '#2d6c1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c1f;
$custom-light: #6d975f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c1f",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 109.091,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.12772,
    "h": 140.3
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#2D6C1F
secondary
#9047A0
accent
#49DFC4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2D6C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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