#2C522F#2C522F

#2C522F is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.072 H 145.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2C522F
RGBrgb(44, 82, 47)
HSLhsl(125, 30%, 25%)
HSVhsv(125, 46%, 32%)
CMYKcmyk(46.3%, 0%, 42.7%, 67.8%)
CIE-LABlab(31.29, -22.03, 16.43)
CIE-LCHlch(31.29, 27.48, 143.29°)
OKLaboklab(40% -0.0599 0.0408)
OKLCHoklch(40% 0.072 145.8)
XYZxyz(4.5689, 6.7750, 3.7557)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C522F #522C4F
analogous
#3C522C #2C522F #2C5242
triadic
#2C522F #2F2C52 #522F2C
tetradic
#2C522F #2C3C52 #522C4F #52422C
square
#2C522F #2C3C52 #522C4F #52422C
split-complementary
#2C522F #422C52 #522C3C
monochromatic
#0B140B #172A18 #2C522F #417A46 #57A25D

Accessibility & contrast

On white

8.92
#2C522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C522F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C522F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C522F#FFFFFF#000000##FFFFFF
##2C522F1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#4E4831
Tritanopia (blue-blind)
#275049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c522f;
/* rgb */ color: rgb(44, 82, 47);
/* oklch */ color: oklch(40.0% 0.072 145.8);
Tailwind
colors: {
  custom: {
    50: '#678368',
    500: '#2c522f',
    950: '#000000',
  },
}
SCSS
$custom: #2c522f;
$custom-light: #678368;
$custom-dark: #000000;
JSON
{
  "hex": "#2c522f",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 124.737,
    "s": 30.159,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40004,
    "c": 0.07249,
    "h": 145.8
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#2C522F
secondary
#845680
accent
#61BEC6
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2C522F

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

Preview Lab → · Contrast checker → · Palette generator →

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