#2A522D#2A522D

#2A522D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.9% C 0.076 H 145.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2A522D
RGBrgb(42, 82, 45)
HSLhsl(125, 32%, 24%)
HSVhsv(125, 49%, 32%)
CMYKcmyk(48.8%, 0%, 45.1%, 67.8%)
CIE-LABlab(31.15, -23.09, 17.44)
CIE-LCHlch(31.15, 28.93, 142.94°)
OKLaboklab(39.85% -0.0628 0.043)
OKLCHoklch(39.85% 0.076 145.6)
XYZxyz(4.4456, 6.7160, 3.5442)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A522D #522A4F
analogous
#3B522A #2A522D #2A5241
triadic
#2A522D #2D2A52 #522D2A
tetradic
#2A522D #2A3B52 #522A4F #52412A
square
#2A522D #2A3B52 #522A4F #52412A
split-complementary
#2A522D #412A52 #522A3B
monochromatic
#0A140B #152A17 #2A522D #3F7A43 #53A359

Accessibility & contrast

On white

8.96
#2A522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A522D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A522D#FFFFFF#000000##FFFFFF
##2A522D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2A
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#245049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a522d;
/* rgb */ color: rgb(42, 82, 45);
/* oklch */ color: oklch(39.9% 0.076 145.6);
Tailwind
colors: {
  custom: {
    50: '#668366',
    500: '#2a522d',
    950: '#000000',
  },
}
SCSS
$custom: #2a522d;
$custom-light: #668366;
$custom-dark: #000000;
JSON
{
  "hex": "#2a522d",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 124.5,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39852,
    "c": 0.07613,
    "h": 145.6
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#2A522D
secondary
#845481
accent
#5FC1C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A522D

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

Preview Lab → · Contrast checker → · Palette generator →

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