#2D502D#2D502D

#2D502D is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.071 H 144.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2D502D
RGBrgb(45, 80, 45)
HSLhsl(120, 28%, 25%)
HSVhsv(120, 44%, 31%)
CMYKcmyk(43.7%, 0%, 43.7%, 68.6%)
CIE-LABlab(30.60, -21.01, 16.75)
CIE-LCHlch(30.60, 26.88, 141.43°)
OKLaboklab(39.45% -0.0572 0.0415)
OKLCHoklch(39.45% 0.071 144.1)
XYZxyz(4.4243, 6.4844, 3.5006)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D502D #502D50
analogous
#3F502D #2D502D #2D503F
triadic
#2D502D #2D2D50 #502D2D
tetradic
#2D502D #2D3F50 #502D50 #503F2D
square
#2D502D #2D3F50 #502D50 #503F2D
split-complementary
#2D502D #3F2D50 #502D3F
monochromatic
#0B140B #172917 #2D502D #437743 #599E59

Accessibility & contrast

On white

9.14
#2D502D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D502D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D502D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D502D#FFFFFF#000000##FFFFFF
##2D502D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2A
Deuteranopia (green-blind)
#4C472F
Tritanopia (blue-blind)
#294E47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d502d;
/* rgb */ color: rgb(45, 80, 45);
/* oklch */ color: oklch(39.4% 0.071 144.1);
Tailwind
colors: {
  custom: {
    50: '#688166',
    500: '#2d502d',
    950: '#000000',
  },
}
SCSS
$custom: #2d502d;
$custom-light: #688166;
$custom-dark: #000000;
JSON
{
  "hex": "#2d502d",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 28,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.07067,
    "h": 144.1
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#2D502D
secondary
#825782
accent
#63C4C4
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D502D

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

Preview Lab → · Contrast checker → · Palette generator →

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