#2D6A23#2D6A23

#2D6A23 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.122 H 141.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2D6A23
RGBrgb(45, 106, 35)
HSLhsl(112, 50%, 28%)
HSVhsv(112, 67%, 42%)
CMYKcmyk(57.5%, 0%, 67%, 58.4%)
CIE-LABlab(39.56, -34.59, 33.02)
CIE-LCHlch(39.56, 47.82, 136.33°)
OKLaboklab(46.74% -0.0946 0.0767)
OKLCHoklch(46.74% 0.122 141)
XYZxyz(6.5393, 10.9868, 3.3658)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A23 #60236A
analogous
#516A23 #2D6A23 #236A3C
triadic
#2D6A23 #232D6A #6A232D
tetradic
#2D6A23 #23516A #60236A #6A3C23
square
#2D6A23 #23516A #60236A #6A3C23
split-complementary
#2D6A23 #3C236A #6A2351
monochromatic
#0A1708 #193C14 #2D6A23 #419832 #57C246

Accessibility & contrast

On white

6.57
#2D6A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D6A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A23
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A23#FFFFFF#000000##FFFFFF
##2D6A231.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D601B
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#25675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a23;
/* rgb */ color: rgb(45, 106, 35);
/* oklch */ color: oklch(46.7% 0.122 141.0);
Tailwind
colors: {
  custom: {
    50: '#6d9561',
    500: '#2d6a23',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a23;
$custom-light: #6d9561;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a23",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 111.549,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.12177,
    "h": 141
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#2D6A23
secondary
#924B9D
accent
#4EDAC6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2D6A23

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

Preview Lab → · Contrast checker → · Palette generator →

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