#2D6819#2D6819

#2D6819 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.127 H 139.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2D6819
RGBrgb(45, 104, 25)
HSLhsl(105, 61%, 25%)
HSVhsv(105, 76%, 41%)
CMYKcmyk(56.7%, 0%, 76%, 59.2%)
CIE-LABlab(38.77, -34.74, 36.67)
CIE-LCHlch(38.77, 50.51, 133.45°)
OKLaboklab(46.07% -0.0957 0.083)
OKLCHoklch(46.07% 0.127 139)
XYZxyz(6.2077, 10.5282, 2.6245)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6819 #541968
analogous
#546819 #2D6819 #19682C
triadic
#2D6819 #192D68 #68192D
tetradic
#2D6819 #195468 #541968 #682C19
square
#2D6819 #195468 #541968 #682C19
split-complementary
#2D6819 #2C1968 #681954
monochromatic
#0B1906 #18370D #2D6819 #429925 #58CB31

Accessibility & contrast

On white

6.76
#2D6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6819
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6819#FFFFFF#000000##FFFFFF
##2D68191.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0B
Deuteranopia (green-blind)
#645921
Tritanopia (blue-blind)
#276459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d6819;
/* rgb */ color: rgb(45, 104, 25);
/* oklch */ color: oklch(46.1% 0.127 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d945b',
    500: '#2d6819',
    950: '#000000',
  },
}
SCSS
$custom: #2d6819;
$custom-light: #6d945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6819",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 104.81,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.12666,
    "h": 139
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#2D6819
secondary
#863F9E
accent
#43E4BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6819

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

Preview Lab → · Contrast checker → · Palette generator →

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