#2D4F2D#2D4F2D

#2D4F2D is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.2% C 0.069 H 144.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2D4F2D
RGBrgb(45, 79, 45)
HSLhsl(120, 27%, 24%)
HSVhsv(120, 43%, 31%)
CMYKcmyk(43%, 0%, 43%, 69%)
CIE-LABlab(30.25, -20.49, 16.30)
CIE-LCHlch(30.25, 26.18, 141.51°)
OKLaboklab(39.16% -0.0558 0.0404)
OKLCHoklch(39.16% 0.069 144.1)
XYZxyz(4.3516, 6.3391, 3.4764)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F2D #4F2D4F
analogous
#3E4F2D #2D4F2D #2D4F3E
triadic
#2D4F2D #2D2D4F #4F2D2D
tetradic
#2D4F2D #2D3E4F #4F2D4F #4F3E2D
square
#2D4F2D #2D3E4F #4F2D4F #4F3E2D
split-complementary
#2D4F2D #3E2D4F #4F2D3E
monochromatic
#0B130B #172817 #2D4F2D #437643 #599D59

Accessibility & contrast

On white

9.26
#2D4F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D4F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F2D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F2D#FFFFFF#000000##FFFFFF
##2D4F2D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#294D47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4f2d;
/* rgb */ color: rgb(45, 79, 45);
/* oklch */ color: oklch(39.2% 0.069 144.1);
Tailwind
colors: {
  custom: {
    50: '#688066',
    500: '#2d4f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f2d;
$custom-light: #688066;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f2d",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.06889,
    "h": 144.1
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#2D4F2D
secondary
#815781
accent
#64C4C4
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D4F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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