#2D6F1F#2D6F1F

#2D6F1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.132 H 140.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2D6F1F
RGBrgb(45, 111, 31)
HSLhsl(110, 56%, 28%)
HSVhsv(110, 72%, 44%)
CMYKcmyk(59.5%, 0%, 72.1%, 56.5%)
CIE-LABlab(41.26, -37.07, 36.69)
CIE-LCHlch(41.26, 52.16, 135.30°)
OKLaboklab(48.13% -0.1016 0.0839)
OKLCHoklch(48.13% 0.132 140.4)
XYZxyz(7.0136, 12.0251, 3.2475)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F1F #611F6F
analogous
#556F1F #2D6F1F #1F6F39
triadic
#2D6F1F #1F2D6F #6F1F2D
tetradic
#2D6F1F #1F556F #611F6F #6F391F
square
#2D6F1F #1F556F #611F6F #6F391F
split-complementary
#2D6F1F #391F6F #6F1F55
monochromatic
#0A1807 #1A3F12 #2D6F1F #409F2C #57C93F

Accessibility & contrast

On white

6.17
#2D6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2D6F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F1F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F1F#FFFFFF#000000##FFFFFF
##2D6F1F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#256B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f1f;
/* rgb */ color: rgb(45, 111, 31);
/* oklch */ color: oklch(48.1% 0.132 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e995f',
    500: '#2d6f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f1f;
$custom-light: #6e995f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f1f",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 109.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.13175,
    "h": 140.4
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#2D6F1F
secondary
#9347A3
accent
#48E0C5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D6F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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