#2D6814#2D6814

#2D6814 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.130 H 138.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D6814
RGBrgb(45, 104, 20)
HSLhsl(102, 68%, 24%)
HSVhsv(102, 81%, 41%)
CMYKcmyk(56.7%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.74, -35.12, 38.57)
CIE-LCHlch(38.74, 52.17, 132.32°)
OKLaboklab(46.03% -0.097 0.0862)
OKLCHoklch(46.03% 0.13 138.4)
XYZxyz(6.1585, 10.5085, 2.3655)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6814 #4F1468
analogous
#576814 #2D6814 #146825
triadic
#2D6814 #142D68 #68142D
tetradic
#2D6814 #145768 #4F1468 #682514
square
#2D6814 #145768 #4F1468 #682514
split-complementary
#2D6814 #251468 #681457
monochromatic
#0B1A05 #17350A #2D6814 #439B1E #59CF28

Accessibility & contrast

On white

6.77
#2D6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6814
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6814#FFFFFF#000000##FFFFFF
##2D68141.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E02
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#286458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d6814;
/* rgb */ color: rgb(45, 104, 20);
/* oklch */ color: oklch(46.0% 0.130 138.4);
Tailwind
colors: {
  custom: {
    50: '#6d9459',
    500: '#2d6814',
    950: '#000000',
  },
}
SCSS
$custom: #2d6814;
$custom-light: #6d9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6814",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 102.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.1298,
    "h": 138.4
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#2D6814
secondary
#81399F
accent
#3DEBB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6814

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

Preview Lab → · Contrast checker → · Palette generator →

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