#2D6412#2D6412

#2D6412 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.9% C 0.126 H 137.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2D6412
RGBrgb(45, 100, 18)
HSLhsl(100, 69%, 23%)
HSVhsv(100, 82%, 39%)
CMYKcmyk(55%, 0%, 82%, 60.8%)
CIE-LABlab(37.33, -33.59, 37.93)
CIE-LCHlch(37.33, 50.67, 131.53°)
OKLaboklab(44.86% -0.093 0.0846)
OKLCHoklch(44.86% 0.126 137.7)
XYZxyz(5.7483, 9.7155, 2.1445)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6412 #491264
analogous
#566412 #2D6412 #126420
triadic
#2D6412 #122D64 #64122D
tetradic
#2D6412 #125664 #491264 #642012
square
#2D6412 #125664 #491264 #642012
split-complementary
#2D6412 #201264 #641256
monochromatic
#0C1A05 #163009 #2D6412 #44981B #5CCC25

Accessibility & contrast

On white

7.14
#2D6412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D6412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6412
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6412#FFFFFF#000000##FFFFFF
##2D64121.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#296055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d6412;
/* rgb */ color: rgb(45, 100, 18);
/* oklch */ color: oklch(44.9% 0.126 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d9157',
    500: '#2d6412',
    950: '#000000',
  },
}
SCSS
$custom: #2d6412;
$custom-light: #6d9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6412",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 100.244,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.12573,
    "h": 137.7
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#2D6412
secondary
#7A369C
accent
#3BECB2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2D6412

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

Preview Lab → · Contrast checker → · Palette generator →

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