#2D6914#2D6914

#2D6914 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.131 H 138.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2D6914
RGBrgb(45, 105, 20)
HSLhsl(102, 68%, 25%)
HSVhsv(102, 81%, 41%)
CMYKcmyk(57.1%, 0%, 81%, 58.8%)
CIE-LABlab(39.09, -35.54, 38.91)
CIE-LCHlch(39.09, 52.70, 132.40°)
OKLaboklab(46.31% -0.0981 0.0869)
OKLCHoklch(46.31% 0.131 138.5)
XYZxyz(6.2598, 10.7110, 2.3993)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6914 #501469
analogous
#586914 #2D6914 #146926
triadic
#2D6914 #142D69 #69142D
tetradic
#2D6914 #145869 #501469 #692614
square
#2D6914 #145869 #501469 #692614
split-complementary
#2D6914 #261469 #691458
monochromatic
#0B1A05 #17360A #2D6914 #439C1E #59D028

Accessibility & contrast

On white

6.68
#2D6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2D6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6914
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6914#FFFFFF#000000##FFFFFF
##2D69141.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F02
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#286559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d6914;
/* rgb */ color: rgb(45, 105, 20);
/* oklch */ color: oklch(46.3% 0.131 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d9459',
    500: '#2d6914',
    950: '#000000',
  },
}
SCSS
$custom: #2d6914;
$custom-light: #6d9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6914",
  "rgb": {
    "r": 45,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 102.353,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.1311,
    "h": 138.5
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#2D6914
secondary
#8239A0
accent
#3DEBB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6914

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

Preview Lab → · Contrast checker → · Palette generator →

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