#2D6D14#2D6D14

#2D6D14 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.136 H 138.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2D6D14
RGBrgb(45, 109, 20)
HSLhsl(103, 69%, 25%)
HSVhsv(103, 82%, 43%)
CMYKcmyk(58.7%, 0%, 81.7%, 57.3%)
CIE-LABlab(40.48, -37.16, 40.25)
CIE-LCHlch(40.48, 54.78, 132.71°)
OKLaboklab(47.46% -0.1025 0.0897)
OKLCHoklch(47.46% 0.136 138.8)
XYZxyz(6.6768, 11.5451, 2.5383)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6D14 #54146D
analogous
#596D14 #2D6D14 #146D27
triadic
#2D6D14 #142D6D #6D142D
tetradic
#2D6D14 #14596D #54146D #6D2714
square
#2D6D14 #14596D #54146D #6D2714
split-complementary
#2D6D14 #27146D #6D1459
monochromatic
#0B1A05 #18390B #2D6D14 #42A11D #58D427

Accessibility & contrast

On white

6.35
#2D6D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2D6D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6D14
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6D14#FFFFFF#000000##FFFFFF
##2D6D141.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#27695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6d14;
/* rgb */ color: rgb(45, 109, 20);
/* oklch */ color: oklch(47.5% 0.136 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e9759',
    500: '#2d6d14',
    950: '#000000',
  },
}
SCSS
$custom: #2d6d14;
$custom-light: #6e9759;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6d14",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 103.146,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.13623,
    "h": 138.8
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#2D6D14
secondary
#8639A4
accent
#3CECBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6D14

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

Preview Lab → · Contrast checker → · Palette generator →

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