#2D6A1B#2D6A1B

#2D6A1B is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.7% C 0.128 H 139.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2D6A1B
RGBrgb(45, 106, 27)
HSLhsl(106, 59%, 26%)
HSVhsv(106, 75%, 42%)
CMYKcmyk(57.5%, 0%, 74.5%, 58.4%)
CIE-LABlab(39.49, -35.40, 36.56)
CIE-LCHlch(39.49, 50.89, 134.07°)
OKLaboklab(46.66% -0.0973 0.0831)
OKLCHoklch(46.66% 0.128 139.5)
XYZxyz(6.4338, 10.9446, 2.8102)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A1B #581B6A
analogous
#546A1B #2D6A1B #1B6A30
triadic
#2D6A1B #1B2D6A #6A1B2D
tetradic
#2D6A1B #1B546A #581B6A #6A301B
square
#2D6A1B #1B546A #581B6A #6A301B
split-complementary
#2D6A1B #301B6A #6A1B54
monochromatic
#0A1806 #18390F #2D6A1B #429B27 #57CB34

Accessibility & contrast

On white

6.59
#2D6A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D6A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A1B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A1B#FFFFFF#000000##FFFFFF
##2D6A1B1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a1b;
/* rgb */ color: rgb(45, 106, 27);
/* oklch */ color: oklch(46.7% 0.128 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d955d',
    500: '#2d6a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a1b;
$custom-light: #6d955d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a1b",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 106.329,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.12795,
    "h": 139.5
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#2D6A1B
secondary
#8A429F
accent
#45E3BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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