#2D6715#2D6715

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

Color values

HEX#2D6715
RGBrgb(45, 103, 21)
HSLhsl(102, 66%, 24%)
HSVhsv(102, 80%, 40%)
CMYKcmyk(56.3%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.40, -34.64, 37.87)
CIE-LCHlch(38.40, 51.32, 132.45°)
OKLaboklab(45.75% -0.0957 0.0849)
OKLCHoklch(45.75% 0.128 138.4)
XYZxyz(6.0676, 10.3121, 2.3800)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6715 #4F1567
analogous
#566715 #2D6715 #156726
triadic
#2D6715 #152D67 #67152D
tetradic
#2D6715 #155667 #4F1567 #672615
square
#2D6715 #155667 #4F1567 #672615
split-complementary
#2D6715 #261567 #671556
monochromatic
#0B1905 #17340B #2D6715 #439A1F #59CD2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6715#FFFFFF#000000##FFFFFF
##2D67151.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)
#6A5D04
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#286357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6715;
/* rgb */ color: rgb(45, 103, 21);
/* oklch */ color: oklch(45.7% 0.128 138.4);
Tailwind
colors: {
  custom: {
    50: '#6d9359',
    500: '#2d6715',
    950: '#000000',
  },
}
SCSS
$custom: #2d6715;
$custom-light: #6d9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6715",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 102.439,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.12791,
    "h": 138.4
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#2D6715
secondary
#813A9E
accent
#3FE9B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6715

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

Preview Lab → · Contrast checker → · Palette generator →

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