#2D6218#2D6218

#2D6218 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.119 H 138.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D6218
RGBrgb(45, 98, 24)
HSLhsl(103, 61%, 24%)
HSVhsv(103, 76%, 38%)
CMYKcmyk(54.1%, 0%, 75.5%, 61.6%)
CIE-LABlab(36.67, -32.28, 34.93)
CIE-LCHlch(36.67, 47.56, 132.75°)
OKLaboklab(44.33% -0.0891 0.0792)
OKLCHoklch(44.33% 0.119 138.4)
XYZxyz(5.6145, 9.3588, 2.3745)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6218 #4D1862
analogous
#526218 #2D6218 #186228
triadic
#2D6218 #182D62 #62182D
tetradic
#2D6218 #185262 #4D1862 #622818
square
#2D6218 #185262 #4D1862 #622818
split-complementary
#2D6218 #281862 #621852
monochromatic
#0B1906 #16310C #2D6218 #449324 #5AC430

Accessibility & contrast

On white

7.31
#2D6218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D6218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6218
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6218#FFFFFF#000000##FFFFFF
##2D62181.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#295E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6218;
/* rgb */ color: rgb(45, 98, 24);
/* oklch */ color: oklch(44.3% 0.119 138.4);
Tailwind
colors: {
  custom: {
    50: '#6c8f5a',
    500: '#2d6218',
    950: '#000000',
  },
}
SCSS
$custom: #2d6218;
$custom-light: #6c8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6218",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 102.973,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44327,
    "c": 0.11922,
    "h": 138.4
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#2D6218
secondary
#7F3E98
accent
#44E4B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D6218

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

Preview Lab → · Contrast checker → · Palette generator →

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