#2D6312#2D6312

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

Color values

HEX#2D6312
RGBrgb(45, 99, 18)
HSLhsl(100, 69%, 23%)
HSVhsv(100, 82%, 39%)
CMYKcmyk(54.5%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.98, -33.17, 37.59)
CIE-LCHlch(36.98, 50.14, 131.42°)
OKLaboklab(44.57% -0.0919 0.0839)
OKLCHoklch(44.57% 0.124 137.6)
XYZxyz(5.6530, 9.5248, 2.1127)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6312 #481263
analogous
#556312 #2D6312 #12631F
triadic
#2D6312 #122D63 #63122D
tetradic
#2D6312 #125563 #481263 #631F12
square
#2D6312 #125563 #481263 #631F12
split-complementary
#2D6312 #1F1263 #631255
monochromatic
#0C1A05 #152F09 #2D6312 #45971B #5CCB25

Accessibility & contrast

On white

7.23
#2D6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D6312
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6312#FFFFFF#000000##FFFFFF
##2D63121.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d6312;
/* rgb */ color: rgb(45, 99, 18);
/* oklch */ color: oklch(44.6% 0.124 137.6);
Tailwind
colors: {
  custom: {
    50: '#6c9057',
    500: '#2d6312',
    950: '#000000',
  },
}
SCSS
$custom: #2d6312;
$custom-light: #6c9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6312",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.12442,
    "h": 137.6
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#2D6312
secondary
#79369B
accent
#3CECB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6312

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

Preview Lab → · Contrast checker → · Palette generator →

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