#2D6014#2D6014

#2D6014 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.119 H 137.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2D6014
RGBrgb(45, 96, 20)
HSLhsl(100, 66%, 23%)
HSVhsv(100, 79%, 38%)
CMYKcmyk(53.1%, 0%, 79.2%, 62.4%)
CIE-LABlab(35.93, -31.74, 35.82)
CIE-LCHlch(35.93, 47.86, 131.54°)
OKLaboklab(43.72% -0.0879 0.0805)
OKLCHoklch(43.72% 0.119 137.5)
XYZxyz(5.3912, 8.9738, 2.1097)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6014 #471460
analogous
#536014 #2D6014 #146021
triadic
#2D6014 #142D60 #60142D
tetradic
#2D6014 #145360 #471460 #602114
square
#2D6014 #145360 #471460 #602114
split-complementary
#2D6014 #211460 #601453
monochromatic
#0C1905 #152D09 #2D6014 #45931F #5CC529

Accessibility & contrast

On white

7.51
#2D6014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D6014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6014
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6014#FFFFFF#000000##FFFFFF
##2D60141.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#2A5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d6014;
/* rgb */ color: rgb(45, 96, 20);
/* oklch */ color: oklch(43.7% 0.119 137.5);
Tailwind
colors: {
  custom: {
    50: '#6c8e57',
    500: '#2d6014',
    950: '#000000',
  },
}
SCSS
$custom: #2d6014;
$custom-light: #6c8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6014",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 100.263,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.11919,
    "h": 137.5
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#2D6014
secondary
#783898
accent
#3FE8B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6014

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

Preview Lab → · Contrast checker → · Palette generator →

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