#2D6A16#2D6A16

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

Color values

HEX#2D6A16
RGBrgb(45, 106, 22)
HSLhsl(104, 66%, 25%)
HSVhsv(104, 79%, 42%)
CMYKcmyk(57.5%, 0%, 79.2%, 58.4%)
CIE-LABlab(39.45, -35.80, 38.53)
CIE-LCHlch(39.45, 52.59, 132.90°)
OKLaboklab(46.62% -0.0987 0.0864)
OKLCHoklch(46.62% 0.131 138.8)
XYZxyz(6.3808, 10.9234, 2.5311)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A16 #53166A
analogous
#576A16 #2D6A16 #166A29
triadic
#2D6A16 #162D6A #6A162D
tetradic
#2D6A16 #16576A #53166A #6A2916
square
#2D6A16 #16576A #53166A #6A2916
split-complementary
#2D6A16 #29166A #6A1657
monochromatic
#0B1905 #17370B #2D6A16 #439D21 #58CF2B

Accessibility & contrast

On white

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

On black

3.18
#2D6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D6A16#FFFFFF#000000##FFFFFF
##2D6A161.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a16;
/* rgb */ color: rgb(45, 106, 22);
/* oklch */ color: oklch(46.6% 0.131 138.8);
Tailwind
colors: {
  custom: {
    50: '#6d955a',
    500: '#2d6a16',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a16;
$custom-light: #6d955a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a16",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 103.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.13122,
    "h": 138.8
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#2D6A16
secondary
#853BA0
accent
#3FE9BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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