#2D512D#2D512D

#2D512D is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.7% C 0.072 H 144.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2D512D
RGBrgb(45, 81, 45)
HSLhsl(120, 29%, 25%)
HSVhsv(120, 44%, 32%)
CMYKcmyk(44.4%, 0%, 44.4%, 68.2%)
CIE-LABlab(30.95, -21.53, 17.21)
CIE-LCHlch(30.95, 27.56, 141.36°)
OKLaboklab(39.73% -0.0586 0.0425)
OKLCHoklch(39.73% 0.072 144.1)
XYZxyz(4.4981, 6.6319, 3.5252)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D512D #512D51
analogous
#3F512D #2D512D #2D513F
triadic
#2D512D #2D2D51 #512D2D
tetradic
#2D512D #2D3F51 #512D51 #513F2D
square
#2D512D #2D3F51 #512D51 #513F2D
split-complementary
#2D512D #3F2D51 #512D3F
monochromatic
#0B140B #172A17 #2D512D #437843 #59A059

Accessibility & contrast

On white

9.03
#2D512D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D512D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D512D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D512D#FFFFFF#000000##FFFFFF
##2D512D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2A
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#294F48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d512d;
/* rgb */ color: rgb(45, 81, 45);
/* oklch */ color: oklch(39.7% 0.072 144.1);
Tailwind
colors: {
  custom: {
    50: '#688266',
    500: '#2d512d',
    950: '#000000',
  },
}
SCSS
$custom: #2d512d;
$custom-light: #688266;
$custom-dark: #000000;
JSON
{
  "hex": "#2d512d",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.07243,
    "h": 144.1
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#2D512D
secondary
#835783
accent
#63C5C5
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D512D

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

Preview Lab → · Contrast checker → · Palette generator →

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