#2D6318#2D6318

#2D6318 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.6% C 0.121 H 138.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D6318
RGBrgb(45, 99, 24)
HSLhsl(103, 61%, 24%)
HSVhsv(103, 76%, 39%)
CMYKcmyk(54.5%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.02, -32.71, 35.29)
CIE-LCHlch(37.02, 48.12, 132.83°)
OKLaboklab(44.62% -0.0902 0.08)
OKLCHoklch(44.62% 0.121 138.5)
XYZxyz(5.7087, 9.5471, 2.4059)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6318 #4E1863
analogous
#536318 #2D6318 #186329
triadic
#2D6318 #182D63 #63182D
tetradic
#2D6318 #185363 #4E1863 #632918
square
#2D6318 #185363 #4E1863 #632918
split-complementary
#2D6318 #291863 #631853
monochromatic
#0B1906 #17320C #2D6318 #439424 #5AC630

Accessibility & contrast

On white

7.22
#2D6318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D6318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6318
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6318#FFFFFF#000000##FFFFFF
##2D63181.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#295F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d6318;
/* rgb */ color: rgb(45, 99, 24);
/* oklch */ color: oklch(44.6% 0.121 138.5);
Tailwind
colors: {
  custom: {
    50: '#6c905a',
    500: '#2d6318',
    950: '#000000',
  },
}
SCSS
$custom: #2d6318;
$custom-light: #6c905a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6318",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 103.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.12059,
    "h": 138.5
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#2D6318
secondary
#803E99
accent
#44E4B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6318

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

Preview Lab → · Contrast checker → · Palette generator →

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