#2D6A15#2D6A15

#2D6A15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.132 H 138.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2D6A15
RGBrgb(45, 106, 21)
HSLhsl(103, 67%, 25%)
HSVhsv(103, 80%, 42%)
CMYKcmyk(57.5%, 0%, 80.2%, 58.4%)
CIE-LABlab(39.44, -35.88, 38.89)
CIE-LCHlch(39.44, 52.91, 132.69°)
OKLaboklab(46.61% -0.099 0.0871)
OKLCHoklch(46.61% 0.132 138.7)
XYZxyz(6.3713, 10.9196, 2.4813)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A15 #52156A
analogous
#576A15 #2D6A15 #156A28
triadic
#2D6A15 #152D6A #6A152D
tetradic
#2D6A15 #15576A #52156A #6A2815
square
#2D6A15 #15576A #52156A #6A2815
split-complementary
#2D6A15 #28156A #6A1557
monochromatic
#0B1A05 #17370B #2D6A15 #439D1F #58D029

Accessibility & contrast

On white

6.60
#2D6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A15
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A15#FFFFFF#000000##FFFFFF
##2D6A151.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a15;
/* rgb */ color: rgb(45, 106, 21);
/* oklch */ color: oklch(46.6% 0.132 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e9559',
    500: '#2d6a15',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a15;
$custom-light: #6e9559;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a15",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 103.059,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.13182,
    "h": 138.7
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#2D6A15
secondary
#843AA1
accent
#3EEAB9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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