#2D6214#2D6214

#2D6214 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.3% C 0.122 H 137.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2D6214
RGBrgb(45, 98, 20)
HSLhsl(101, 66%, 23%)
HSVhsv(101, 80%, 38%)
CMYKcmyk(54.1%, 0%, 79.6%, 61.6%)
CIE-LABlab(36.64, -32.60, 36.52)
CIE-LCHlch(36.64, 48.95, 131.76°)
OKLaboklab(44.29% -0.0902 0.0819)
OKLCHoklch(44.29% 0.122 137.8)
XYZxyz(5.5760, 9.3434, 2.1713)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6214 #491462
analogous
#546214 #2D6214 #146222
triadic
#2D6214 #142D62 #62142D
tetradic
#2D6214 #145462 #491462 #622214
square
#2D6214 #145462 #491462 #622214
split-complementary
#2D6214 #221462 #621454
monochromatic
#0C1905 #162F0A #2D6214 #44951E #5CC829

Accessibility & contrast

On white

7.32
#2D6214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D6214
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6214#FFFFFF#000000##FFFFFF
##2D62141.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655905
Deuteranopia (green-blind)
#5E551C
Tritanopia (blue-blind)
#295E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6214;
/* rgb */ color: rgb(45, 98, 20);
/* oklch */ color: oklch(44.3% 0.122 137.8);
Tailwind
colors: {
  custom: {
    50: '#6c8f58',
    500: '#2d6214',
    950: '#000000',
  },
}
SCSS
$custom: #2d6214;
$custom-light: #6c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6214",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 100.769,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44293,
    "c": 0.12188,
    "h": 137.8
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#2D6214
secondary
#7A3899
accent
#3FE9B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6214

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

Preview Lab → · Contrast checker → · Palette generator →

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