#2D512E#2D512E

#2D512E is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.8% C 0.071 H 144.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2D512E
RGBrgb(45, 81, 46)
HSLhsl(122, 29%, 25%)
HSVhsv(122, 44%, 32%)
CMYKcmyk(44.4%, 0%, 43.2%, 68.2%)
CIE-LABlab(30.97, -21.35, 16.63)
CIE-LCHlch(30.97, 27.06, 142.08°)
OKLaboklab(39.75% -0.0581 0.0412)
OKLCHoklch(39.75% 0.071 144.7)
XYZxyz(4.5175, 6.6397, 3.6278)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D512E #512D50
analogous
#3E512D #2D512E #2D5140
triadic
#2D512E #2E2D51 #512E2D
tetradic
#2D512E #2D3E51 #512D50 #51402D
square
#2D512E #2D3E51 #512D50 #51402D
split-complementary
#2D512E #402D51 #512D3E
monochromatic
#0B140B #172A18 #2D512E #437844 #59A05B

Accessibility & contrast

On white

9.02
#2D512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D512E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D512E#FFFFFF#000000##FFFFFF
##2D512E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d512e;
/* rgb */ color: rgb(45, 81, 46);
/* oklch */ color: oklch(39.8% 0.071 144.7);
Tailwind
colors: {
  custom: {
    50: '#688267',
    500: '#2d512e',
    950: '#000000',
  },
}
SCSS
$custom: #2d512e;
$custom-light: #688267;
$custom-dark: #000000;
JSON
{
  "hex": "#2d512e",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 121.667,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.07124,
    "h": 144.7
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#2D512E
secondary
#835781
accent
#63C2C5
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D512E

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

Preview Lab → · Contrast checker → · Palette generator →

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