#2D6331#2D6331

#2D6331 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.098 H 145.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2D6331
RGBrgb(45, 99, 49)
HSLhsl(124, 38%, 28%)
HSVhsv(124, 55%, 39%)
CMYKcmyk(54.5%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.30, -29.59, 22.98)
CIE-LCHlch(37.30, 37.47, 142.17°)
OKLaboklab(44.94% -0.0803 0.0559)
OKLCHoklch(44.94% 0.098 145.2)
XYZxyz(6.0981, 9.7028, 4.4566)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6331 #632D5F
analogous
#44632D #2D6331 #2D634C
triadic
#2D6331 #312D63 #63312D
tetradic
#2D6331 #2D4463 #632D5F #634C2D
square
#2D6331 #2D4463 #632D5F #634C2D
split-complementary
#2D6331 #4C2D63 #632D44
monochromatic
#0A150A #1A391C #2D6331 #408D46 #58B35E

Accessibility & contrast

On white

7.14
#2D6331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D6331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6331
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6331#FFFFFF#000000##FFFFFF
##2D63311.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#5D5634
Tritanopia (blue-blind)
#246157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d6331;
/* rgb */ color: rgb(45, 99, 49);
/* oklch */ color: oklch(44.9% 0.098 145.2);
Tailwind
colors: {
  custom: {
    50: '#6b906a',
    500: '#2d6331',
    950: '#000000',
  },
}
SCSS
$custom: #2d6331;
$custom-light: #6b906a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6331",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 124.444,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.09787,
    "h": 145.2
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#2D6331
secondary
#955790
accent
#5AC5CD
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2D6331

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

Preview Lab → · Contrast checker → · Palette generator →

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