#2D6919#2D6919

#2D6919 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.128 H 139.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2D6919
RGBrgb(45, 105, 25)
HSLhsl(105, 62%, 25%)
HSVhsv(105, 76%, 41%)
CMYKcmyk(57.1%, 0%, 76.2%, 58.8%)
CIE-LABlab(39.12, -35.15, 37.02)
CIE-LCHlch(39.12, 51.05, 133.52°)
OKLaboklab(46.35% -0.0968 0.0838)
OKLCHoklch(46.35% 0.128 139.1)
XYZxyz(6.3090, 10.7307, 2.6583)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6919 #551969
analogous
#556919 #2D6919 #19692D
triadic
#2D6919 #192D69 #69192D
tetradic
#2D6919 #195569 #551969 #692D19
square
#2D6919 #195569 #551969 #692D19
split-complementary
#2D6919 #2D1969 #691955
monochromatic
#0B1906 #18380D #2D6919 #429A25 #57CC31

Accessibility & contrast

On white

6.67
#2D6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2D6919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6919
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6919#FFFFFF#000000##FFFFFF
##2D69191.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#276559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d6919;
/* rgb */ color: rgb(45, 105, 25);
/* oklch */ color: oklch(46.4% 0.128 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d945b',
    500: '#2d6919',
    950: '#000000',
  },
}
SCSS
$custom: #2d6919;
$custom-light: #6d945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6919",
  "rgb": {
    "r": 45,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 105,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.12799,
    "h": 139.1
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#2D6919
secondary
#873F9F
accent
#43E5BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6919

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

Preview Lab → · Contrast checker → · Palette generator →

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