#2D6918#2D6918

#2D6918 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.129 H 139.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2D6918
RGBrgb(45, 105, 24)
HSLhsl(104, 63%, 25%)
HSVhsv(104, 77%, 41%)
CMYKcmyk(57.1%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.12, -35.24, 37.42)
CIE-LCHlch(39.12, 51.40, 133.28°)
OKLaboklab(46.34% -0.0971 0.0844)
OKLCHoklch(46.34% 0.129 139)
XYZxyz(6.2984, 10.7265, 2.6025)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6918 #541869
analogous
#566918 #2D6918 #18692B
triadic
#2D6918 #182D69 #69182D
tetradic
#2D6918 #185669 #541869 #692B18
square
#2D6918 #185669 #541869 #692B18
split-complementary
#2D6918 #2B1869 #691856
monochromatic
#0B1906 #18370D #2D6918 #429B23 #58CD2F

Accessibility & contrast

On white

6.68
#2D6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D6918
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6918#FFFFFF#000000##FFFFFF
##2D69181.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d6918;
/* rgb */ color: rgb(45, 105, 24);
/* oklch */ color: oklch(46.3% 0.129 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d945b',
    500: '#2d6918',
    950: '#000000',
  },
}
SCSS
$custom: #2d6918;
$custom-light: #6d945b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6918",
  "rgb": {
    "r": 45,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 104.444,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.12865,
    "h": 139
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#2D6918
secondary
#863E9F
accent
#42E6BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6918

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

Preview Lab → · Contrast checker → · Palette generator →

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