#2D6A19#2D6A19

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

Color values

HEX#2D6A19
RGBrgb(45, 106, 25)
HSLhsl(105, 62%, 26%)
HSVhsv(105, 76%, 42%)
CMYKcmyk(57.5%, 0%, 76.4%, 58.4%)
CIE-LABlab(39.47, -35.57, 37.37)
CIE-LCHlch(39.47, 51.59, 133.58°)
OKLaboklab(46.64% -0.0979 0.0845)
OKLCHoklch(46.64% 0.129 139.2)
XYZxyz(6.4114, 10.9356, 2.6924)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A19 #56196A
analogous
#556A19 #2D6A19 #196A2D
triadic
#2D6A19 #192D6A #6A192D
tetradic
#2D6A19 #19556A #56196A #6A2D19
square
#2D6A19 #19556A #56196A #6A2D19
split-complementary
#2D6A19 #2D196A #6A1955
monochromatic
#0B1906 #18380D #2D6A19 #429C25 #57CD30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6A19#FFFFFF#000000##FFFFFF
##2D6A191.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)
#6D600B
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a19;
/* rgb */ color: rgb(45, 106, 25);
/* oklch */ color: oklch(46.6% 0.129 139.2);
Tailwind
colors: {
  custom: {
    50: '#6d955b',
    500: '#2d6a19',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a19;
$custom-light: #6d955b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a19",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 105.185,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.12931,
    "h": 139.2
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#2D6A19
secondary
#883FA0
accent
#43E5BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6A19

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

Preview Lab → · Contrast checker → · Palette generator →

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