#2D6E40#2D6E40

#2D6E40 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.099 H 150.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2D6E40
RGBrgb(45, 110, 64)
HSLhsl(138, 42%, 30%)
HSVhsv(138, 59%, 43%)
CMYKcmyk(59.1%, 0%, 41.8%, 56.9%)
CIE-LABlab(41.34, -31.92, 19.59)
CIE-LCHlch(41.34, 37.45, 148.46°)
OKLaboklab(48.34% -0.0864 0.0487)
OKLCHoklch(48.34% 0.099 150.6)
XYZxyz(7.5830, 12.0792, 6.7814)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E40 #6E2D5B
analogous
#3B6E2D #2D6E40 #2D6E60
triadic
#2D6E40 #402D6E #6E402D
tetradic
#2D6E40 #2D3B6E #6E2D5B #6E602D
square
#2D6E40 #2D3B6E #6E2D5B #6E602D
split-complementary
#2D6E40 #602D6E #6E2D3B
monochromatic
#09170D #1B4327 #2D6E40 #3F9959 #5ABB76

Accessibility & contrast

On white

6.15
#2D6E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2D6E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E40
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E40#FFFFFF#000000##FFFFFF
##2D6E401.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#1C6C63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6e40;
/* rgb */ color: rgb(45, 110, 64);
/* oklch */ color: oklch(48.3% 0.099 150.6);
Tailwind
colors: {
  custom: {
    50: '#6c9875',
    500: '#2d6e40',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e40;
$custom-light: #6c9875;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e40",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 64
  },
  "hsl": {
    "h": 137.538,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.0992,
    "h": 150.6
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#2D6E40
secondary
#A0578A
accent
#56AED2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2D6E40

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

Preview Lab → · Contrast checker → · Palette generator →

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