#2D6618#2D6618

#2D6618 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.5% C 0.125 H 138.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2D6618
RGBrgb(45, 102, 24)
HSLhsl(104, 62%, 25%)
HSVhsv(104, 76%, 40%)
CMYKcmyk(55.9%, 0%, 76.5%, 60%)
CIE-LABlab(38.07, -33.98, 36.36)
CIE-LCHlch(38.07, 49.77, 133.07°)
OKLaboklab(45.48% -0.0937 0.0822)
OKLCHoklch(45.48% 0.125 138.7)
XYZxyz(5.9982, 10.1261, 2.5024)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6618 #511866
analogous
#546618 #2D6618 #18662A
triadic
#2D6618 #182D66 #66182D
tetradic
#2D6618 #185466 #511866 #662A18
square
#2D6618 #185466 #511866 #662A18
split-complementary
#2D6618 #2A1866 #661854
monochromatic
#0B1906 #17340C #2D6618 #439824 #59C92F

Accessibility & contrast

On white

6.94
#2D6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6618
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6618#FFFFFF#000000##FFFFFF
##2D66181.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#286257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6618;
/* rgb */ color: rgb(45, 102, 24);
/* oklch */ color: oklch(45.5% 0.125 138.7);
Tailwind
colors: {
  custom: {
    50: '#6d925a',
    500: '#2d6618',
    950: '#000000',
  },
}
SCSS
$custom: #2d6618;
$custom-light: #6d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6618",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 103.846,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.12465,
    "h": 138.7
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#2D6618
secondary
#833E9C
accent
#43E5B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6618

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

Preview Lab → · Contrast checker → · Palette generator →

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