#2D6F1D#2D6F1D

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

Color values

HEX#2D6F1D
RGBrgb(45, 111, 29)
HSLhsl(108, 59%, 27%)
HSVhsv(108, 74%, 44%)
CMYKcmyk(59.5%, 0%, 73.9%, 56.5%)
CIE-LABlab(41.24, -37.26, 37.53)
CIE-LCHlch(41.24, 52.89, 134.79°)
OKLaboklab(48.11% -0.1022 0.0854)
OKLCHoklch(48.11% 0.133 140.1)
XYZxyz(6.9881, 12.0149, 3.1130)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F1D #5F1D6F
analogous
#566F1D #2D6F1D #1D6F36
triadic
#2D6F1D #1D2D6F #6F1D2D
tetradic
#2D6F1D #1D566F #5F1D6F #6F361D
square
#2D6F1D #1D566F #5F1D6F #6F361D
split-complementary
#2D6F1D #361D6F #6F1D56
monochromatic
#0A1806 #193E10 #2D6F1D #41A02A #57CC3B

Accessibility & contrast

On white

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

On black

3.40
#2D6F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D6F1D#FFFFFF#000000##FFFFFF
##2D6F1D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d6f1d;
/* rgb */ color: rgb(45, 111, 29);
/* oklch */ color: oklch(48.1% 0.133 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e995e',
    500: '#2d6f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f1d;
$custom-light: #6e995e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f1d",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 108.293,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.13318,
    "h": 140.1
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#2D6F1D
secondary
#9144A3
accent
#46E2C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D6F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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