#2D6517#2D6517

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

Color values

HEX#2D6517
RGBrgb(45, 101, 23)
HSLhsl(103, 63%, 24%)
HSVhsv(103, 77%, 40%)
CMYKcmyk(55.4%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.71, -33.65, 36.40)
CIE-LCHlch(37.71, 49.57, 132.75°)
OKLaboklab(45.18% -0.0928 0.0822)
OKLCHoklch(45.18% 0.124 138.5)
XYZxyz(5.8903, 9.9267, 2.4161)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6517 #4F1765
analogous
#546517 #2D6517 #176528
triadic
#2D6517 #172D65 #65172D
tetradic
#2D6517 #175465 #4F1765 #652817
square
#2D6517 #175465 #4F1765 #652817
split-complementary
#2D6517 #281765 #651754
monochromatic
#0B1906 #17330C #2D6517 #439722 #59C92E

Accessibility & contrast

On white

7.03
#2D6517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D6517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6517
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6517#FFFFFF#000000##FFFFFF
##2D65171.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d6517;
/* rgb */ color: rgb(45, 101, 23);
/* oklch */ color: oklch(45.2% 0.124 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d915a',
    500: '#2d6517',
    950: '#000000',
  },
}
SCSS
$custom: #2d6517;
$custom-light: #6d915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6517",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 103.077,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.12397,
    "h": 138.5
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#2D6517
secondary
#813C9B
accent
#42E6B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6517

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

Preview Lab → · Contrast checker → · Palette generator →

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