#2D6617#2D6617

#2D6617 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.5% C 0.125 H 138.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2D6617
RGBrgb(45, 102, 23)
HSLhsl(103, 63%, 25%)
HSVhsv(103, 77%, 40%)
CMYKcmyk(55.9%, 0%, 77.5%, 60%)
CIE-LABlab(38.06, -34.07, 36.75)
CIE-LCHlch(38.06, 50.11, 132.83°)
OKLaboklab(45.47% -0.094 0.0829)
OKLCHoklch(45.47% 0.125 138.6)
XYZxyz(5.9880, 10.1220, 2.4487)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6617 #501766
analogous
#556617 #2D6617 #176629
triadic
#2D6617 #172D66 #66172D
tetradic
#2D6617 #175566 #501766 #662917
square
#2D6617 #175566 #501766 #662917
split-complementary
#2D6617 #291766 #661755
monochromatic
#0B1906 #17340C #2D6617 #439822 #59CA2E

Accessibility & contrast

On white

6.94
#2D6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6617
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6617#FFFFFF#000000##FFFFFF
##2D66171.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#286257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d6617;
/* rgb */ color: rgb(45, 102, 23);
/* oklch */ color: oklch(45.5% 0.125 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d925a',
    500: '#2d6617',
    950: '#000000',
  },
}
SCSS
$custom: #2d6617;
$custom-light: #6d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6617",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 103.291,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.12532,
    "h": 138.6
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#2D6617
secondary
#823C9C
accent
#42E6B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6617

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

Preview Lab → · Contrast checker → · Palette generator →

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