#2D402D#2D402D

#2D402D is a dark, muted green. Relative luminance 0.044; OKLCH L 34.9% C 0.041 H 144.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2D402D
RGBrgb(45, 64, 45)
HSLhsl(120, 17%, 21%)
HSVhsv(120, 30%, 25%)
CMYKcmyk(29.7%, 0%, 29.7%, 74.9%)
CIE-LABlab(25.00, -12.13, 9.25)
CIE-LCHlch(25.00, 15.26, 142.68°)
OKLaboklab(34.91% -0.0331 0.0235)
OKLCHoklch(34.91% 0.041 144.6)
XYZxyz(3.3891, 4.4140, 3.1555)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D402D #402D40
analogous
#37402D #2D402D #2D4037
triadic
#2D402D #2D2D40 #402D2D
tetradic
#2D402D #2D3740 #402D40 #40372D
square
#2D402D #2D3740 #402D40 #40372D
split-complementary
#2D402D #372D40 #402D37
monochromatic
#0D120D #141C14 #2D402D #466446 #608860

Accessibility & contrast

On white

11.15
#2D402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D402D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D402D#FFFFFF#000000##FFFFFF
##2D402D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2C
Deuteranopia (green-blind)
#3E3B2E
Tritanopia (blue-blind)
#2B3F3B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d402d;
/* rgb */ color: rgb(45, 64, 45);
/* oklch */ color: oklch(34.9% 0.041 144.6);
Tailwind
colors: {
  custom: {
    50: '#667566',
    500: '#2d402d',
    950: '#000000',
  },
}
SCSS
$custom: #2d402d;
$custom-light: #667566;
$custom-dark: #000000;
JSON
{
  "hex": "#2d402d",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3491,
    "c": 0.04063,
    "h": 144.6
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#2D402D
secondary
#715871
accent
#6EBABA
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #2D402D

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

Preview Lab → · Contrast checker → · Palette generator →

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