#2D6C23#2D6C23

#2D6C23 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.125 H 141.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2D6C23
RGBrgb(45, 108, 35)
HSLhsl(112, 51%, 28%)
HSVhsv(112, 68%, 42%)
CMYKcmyk(58.3%, 0%, 67.6%, 57.6%)
CIE-LABlab(40.25, -35.43, 33.79)
CIE-LCHlch(40.25, 48.96, 136.36°)
OKLaboklab(47.31% -0.0969 0.0783)
OKLCHoklch(47.31% 0.125 141)
XYZxyz(6.7478, 11.4038, 3.4353)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C23 #62236C
analogous
#516C23 #2D6C23 #236C3D
triadic
#2D6C23 #232D6C #6C232D
tetradic
#2D6C23 #23516C #62236C #6C3D23
square
#2D6C23 #23516C #62236C #6C3D23
split-complementary
#2D6C23 #3D236C #6C2351
monochromatic
#0A1707 #1A3E14 #2D6C23 #409A32 #57C346

Accessibility & contrast

On white

6.40
#2D6C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2D6C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6C23
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C23#FFFFFF#000000##FFFFFF
##2D6C231.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621A
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#25695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d6c23;
/* rgb */ color: rgb(45, 108, 35);
/* oklch */ color: oklch(47.3% 0.125 141.0);
Tailwind
colors: {
  custom: {
    50: '#6d9761',
    500: '#2d6c23',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c23;
$custom-light: #6d9761;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c23",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 35
  },
  "hsl": {
    "h": 111.781,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.12456,
    "h": 141
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#2D6C23
secondary
#944B9F
accent
#4DDBC7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2D6C23

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

Preview Lab → · Contrast checker → · Palette generator →

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