#2D6612#2D6612

#2D6612 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.128 H 137.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2D6612
RGBrgb(45, 102, 18)
HSLhsl(101, 70%, 24%)
HSVhsv(101, 82%, 40%)
CMYKcmyk(55.9%, 0%, 82.4%, 60%)
CIE-LABlab(38.03, -34.43, 38.60)
CIE-LCHlch(38.03, 51.73, 131.73°)
OKLaboklab(45.43% -0.0953 0.086)
OKLCHoklch(45.43% 0.128 137.9)
XYZxyz(5.9425, 10.1038, 2.2092)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6612 #4B1266
analogous
#576612 #2D6612 #126621
triadic
#2D6612 #122D66 #66122D
tetradic
#2D6612 #125766 #4B1266 #662112
square
#2D6612 #125766 #4B1266 #662112
split-complementary
#2D6612 #211266 #661257
monochromatic
#0B1A05 #163209 #2D6612 #449A1B #5BCE24

Accessibility & contrast

On white

6.95
#2D6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6612
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6612#FFFFFF#000000##FFFFFF
##2D66121.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#286256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6612;
/* rgb */ color: rgb(45, 102, 18);
/* oklch */ color: oklch(45.4% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#6d9257',
    500: '#2d6612',
    950: '#000000',
  },
}
SCSS
$custom: #2d6612;
$custom-light: #6d9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6612",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 100.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.12835,
    "h": 137.9
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#2D6612
secondary
#7C369E
accent
#3BEDB4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2D6612

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

Preview Lab → · Contrast checker → · Palette generator →

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