#2D6714#2D6714

#2D6714 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.129 H 138.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2D6714
RGBrgb(45, 103, 20)
HSLhsl(102, 67%, 24%)
HSVhsv(102, 81%, 40%)
CMYKcmyk(56.3%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.39, -34.71, 38.23)
CIE-LCHlch(38.39, 51.64, 132.23°)
OKLaboklab(45.74% -0.0959 0.0855)
OKLCHoklch(45.74% 0.129 138.3)
XYZxyz(6.0585, 10.3084, 2.3322)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6714 #4E1467
analogous
#576714 #2D6714 #146725
triadic
#2D6714 #142D67 #67142D
tetradic
#2D6714 #145767 #4E1467 #672514
square
#2D6714 #145767 #4E1467 #672514
split-complementary
#2D6714 #251467 #671457
monochromatic
#0B1A05 #17340A #2D6714 #439A1E #5ACD28

Accessibility & contrast

On white

6.86
#2D6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6714
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6714#FFFFFF#000000##FFFFFF
##2D67141.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D02
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#286357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6714;
/* rgb */ color: rgb(45, 103, 20);
/* oklch */ color: oklch(45.7% 0.129 138.3);
Tailwind
colors: {
  custom: {
    50: '#6d9359',
    500: '#2d6714',
    950: '#000000',
  },
}
SCSS
$custom: #2d6714;
$custom-light: #6d9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6714",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 101.928,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45738,
    "c": 0.12851,
    "h": 138.3
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#2D6714
secondary
#80399E
accent
#3DEAB6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6714

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

Preview Lab → · Contrast checker → · Palette generator →

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