#2D6718#2D6718

#2D6718 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.126 H 138.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2D6718
RGBrgb(45, 103, 24)
HSLhsl(104, 62%, 25%)
HSVhsv(104, 77%, 40%)
CMYKcmyk(56.3%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.42, -34.40, 36.71)
CIE-LCHlch(38.42, 50.31, 133.14°)
OKLaboklab(45.77% -0.0948 0.083)
OKLCHoklch(45.77% 0.126 138.8)
XYZxyz(6.0971, 10.3239, 2.5354)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6718 #521867
analogous
#546718 #2D6718 #18672B
triadic
#2D6718 #182D67 #67182D
tetradic
#2D6718 #185467 #521867 #672B18
square
#2D6718 #185467 #521867 #672B18
split-complementary
#2D6718 #2B1867 #671854
monochromatic
#0B1906 #17350C #2D6718 #439924 #58CA2F

Accessibility & contrast

On white

6.85
#2D6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6718
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6718#FFFFFF#000000##FFFFFF
##2D67181.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#286358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6718;
/* rgb */ color: rgb(45, 103, 24);
/* oklch */ color: oklch(45.8% 0.126 138.8);
Tailwind
colors: {
  custom: {
    50: '#6d935b',
    500: '#2d6718',
    950: '#000000',
  },
}
SCSS
$custom: #2d6718;
$custom-light: #6d935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6718",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 104.051,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.12599,
    "h": 138.8
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#2D6718
secondary
#843E9D
accent
#43E5BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6718

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

Preview Lab → · Contrast checker → · Palette generator →

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