#2D6B15#2D6B15

#2D6B15 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.133 H 138.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D6B15
RGBrgb(45, 107, 21)
HSLhsl(103, 67%, 25%)
HSVhsv(103, 80%, 42%)
CMYKcmyk(57.9%, 0%, 80.4%, 58%)
CIE-LABlab(39.79, -36.28, 39.23)
CIE-LCHlch(39.79, 53.44, 132.76°)
OKLaboklab(46.9% -0.1001 0.0878)
OKLCHoklch(46.9% 0.133 138.8)
XYZxyz(6.4750, 11.1269, 2.5158)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6B15 #53156B
analogous
#586B15 #2D6B15 #156B28
triadic
#2D6B15 #152D6B #6B152D
tetradic
#2D6B15 #15586B #53156B #6B2815
square
#2D6B15 #15586B #53156B #6B2815
split-complementary
#2D6B15 #28156B #6B1558
monochromatic
#0B1A05 #17380B #2D6B15 #439E1F #58D129

Accessibility & contrast

On white

6.51
#2D6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6B15
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6B15#FFFFFF#000000##FFFFFF
##2D6B151.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#27675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d6b15;
/* rgb */ color: rgb(45, 107, 21);
/* oklch */ color: oklch(46.9% 0.133 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e965a',
    500: '#2d6b15',
    950: '#000000',
  },
}
SCSS
$custom: #2d6b15;
$custom-light: #6e965a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6b15",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 103.256,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46897,
    "c": 0.13311,
    "h": 138.8
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#2D6B15
secondary
#853AA2
accent
#3EEABA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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