#2D6516#2D6516

#2D6516 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.2% C 0.125 H 138.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2D6516
RGBrgb(45, 101, 22)
HSLhsl(103, 64%, 24%)
HSVhsv(103, 78%, 40%)
CMYKcmyk(55.4%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.70, -33.72, 36.80)
CIE-LCHlch(37.70, 49.91, 132.51°)
OKLaboklab(45.18% -0.0931 0.0828)
OKLCHoklch(45.18% 0.125 138.4)
XYZxyz(5.8805, 9.9227, 2.3643)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6516 #4E1665
analogous
#556516 #2D6516 #166527
triadic
#2D6516 #162D65 #65162D
tetradic
#2D6516 #165565 #4E1665 #652716
square
#2D6516 #165565 #4E1665 #652716
split-complementary
#2D6516 #271665 #651655
monochromatic
#0B1905 #17330B #2D6516 #439721 #5ACA2C

Accessibility & contrast

On white

7.04
#2D6516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2D6516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6516
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6516#FFFFFF#000000##FFFFFF
##2D65161.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#286156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6516;
/* rgb */ color: rgb(45, 101, 22);
/* oklch */ color: oklch(45.2% 0.125 138.4);
Tailwind
colors: {
  custom: {
    50: '#6d9159',
    500: '#2d6516',
    950: '#000000',
  },
}
SCSS
$custom: #2d6516;
$custom-light: #6d9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6516",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 102.532,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.12463,
    "h": 138.4
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#2D6516
secondary
#803B9C
accent
#41E7B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6516

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

Preview Lab → · Contrast checker → · Palette generator →

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