#2D6E15#2D6E15

#2D6E15 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.137 H 139.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D6E15
RGBrgb(45, 110, 21)
HSLhsl(104, 68%, 26%)
HSVhsv(104, 81%, 43%)
CMYKcmyk(59.1%, 0%, 80.9%, 56.9%)
CIE-LABlab(40.84, -37.49, 40.24)
CIE-LCHlch(40.84, 55.00, 132.97°)
OKLaboklab(47.76% -0.1033 0.0899)
OKLCHoklch(47.76% 0.137 139)
XYZxyz(6.7932, 11.7633, 2.6219)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E15 #56156E
analogous
#596E15 #2D6E15 #156E29
triadic
#2D6E15 #152D6E #6E152D
tetradic
#2D6E15 #15596E #56156E #6E2915
square
#2D6E15 #15596E #56156E #6E2915
split-complementary
#2D6E15 #29156E #6E1559
monochromatic
#0B1A05 #183B0B #2D6E15 #42A11F #57D529

Accessibility & contrast

On white

6.26
#2D6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2D6E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E15
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E15#FFFFFF#000000##FFFFFF
##2D6E151.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716401
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#266A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e15;
/* rgb */ color: rgb(45, 110, 21);
/* oklch */ color: oklch(47.8% 0.137 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e985a',
    500: '#2d6e15',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e15;
$custom-light: #6e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e15",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 103.82,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.13694,
    "h": 139
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#2D6E15
secondary
#883AA4
accent
#3DEBBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6E15

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

Preview Lab → · Contrast checker → · Palette generator →

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