#2D6915#2D6915

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

Color values

HEX#2D6915
RGBrgb(45, 105, 21)
HSLhsl(103, 67%, 25%)
HSVhsv(103, 80%, 41%)
CMYKcmyk(57.1%, 0%, 80%, 58.8%)
CIE-LABlab(39.10, -35.46, 38.55)
CIE-LCHlch(39.10, 52.38, 132.61°)
OKLaboklab(46.32% -0.0979 0.0863)
OKLCHoklch(46.32% 0.131 138.6)
XYZxyz(6.2689, 10.7147, 2.4471)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6915 #511569
analogous
#576915 #2D6915 #156927
triadic
#2D6915 #152D69 #69152D
tetradic
#2D6915 #155769 #511569 #692715
square
#2D6915 #155769 #511569 #692715
split-complementary
#2D6915 #271569 #691557
monochromatic
#0B1A05 #17360B #2D6915 #439C1F #59CF29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6915#FFFFFF#000000##FFFFFF
##2D69151.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)
#6C5F03
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#286559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d6915;
/* rgb */ color: rgb(45, 105, 21);
/* oklch */ color: oklch(46.3% 0.131 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d9459',
    500: '#2d6915',
    950: '#000000',
  },
}
SCSS
$custom: #2d6915;
$custom-light: #6d9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6915",
  "rgb": {
    "r": 45,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 102.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.13052,
    "h": 138.6
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#2D6915
secondary
#833AA0
accent
#3EEAB9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6915

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

Preview Lab → · Contrast checker → · Palette generator →

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