#2D6342#2D6342

#2D6342 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.3% C 0.079 H 154.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2D6342
RGBrgb(45, 99, 66)
HSLhsl(143, 38%, 28%)
HSVhsv(143, 55%, 39%)
CMYKcmyk(54.5%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.62, -26.35, 13.42)
CIE-LCHlch(37.62, 29.57, 153.01°)
OKLaboklab(45.3% -0.0719 0.0339)
OKLCHoklch(45.3% 0.079 154.7)
XYZxyz(6.5269, 9.8744, 6.7152)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6342 #632D4E
analogous
#33632D #2D6342 #2D635D
triadic
#2D6342 #422D63 #63422D
tetradic
#2D6342 #2D3363 #632D4E #635D2D
square
#2D6342 #2D3363 #632D4E #635D2D
split-complementary
#2D6342 #5D2D63 #632D33
monochromatic
#0A150E #1A3926 #2D6342 #408D5E #58B37B

Accessibility & contrast

On white

7.06
#2D6342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D6342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6342
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6342#FFFFFF#000000##FFFFFF
##2D63421.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C40
Deuteranopia (green-blind)
#5B5644
Tritanopia (blue-blind)
#1F625A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6342;
/* rgb */ color: rgb(45, 99, 66);
/* oklch */ color: oklch(45.3% 0.079 154.7);
Tailwind
colors: {
  custom: {
    50: '#6a9076',
    500: '#2d6342',
    950: '#000000',
  },
}
SCSS
$custom: #2d6342;
$custom-light: #6a9076;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6342",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 143.333,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45301,
    "c": 0.07948,
    "h": 154.7
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#2D6342
secondary
#95577D
accent
#5AA1CD
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2D6342

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

Preview Lab → · Contrast checker → · Palette generator →

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