#2A522A#2A522A

#2A522A is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.080 H 143.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2A522A
RGBrgb(42, 82, 42)
HSLhsl(120, 32%, 24%)
HSVhsv(120, 49%, 32%)
CMYKcmyk(48.8%, 0%, 48.8%, 67.8%)
CIE-LABlab(31.10, -23.62, 19.16)
CIE-LCHlch(31.10, 30.42, 140.95°)
OKLaboklab(39.79% -0.0643 0.0469)
OKLCHoklch(39.79% 0.08 143.9)
XYZxyz(4.3898, 6.6937, 3.2507)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A522A #522A52
analogous
#3E522A #2A522A #2A523E
triadic
#2A522A #2A2A52 #522A2A
tetradic
#2A522A #2A3E52 #522A52 #523E2A
square
#2A522A #2A3E52 #522A52 #523E2A
split-complementary
#2A522A #3E2A52 #522A3E
monochromatic
#0A140A #152A15 #2A522A #3F7A3F #53A353

Accessibility & contrast

On white

8.98
#2A522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A522A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A522A#FFFFFF#000000##FFFFFF
##2A522A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#255048
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a522a;
/* rgb */ color: rgb(42, 82, 42);
/* oklch */ color: oklch(39.8% 0.080 143.9);
Tailwind
colors: {
  custom: {
    50: '#668364',
    500: '#2a522a',
    950: '#000000',
  },
}
SCSS
$custom: #2a522a;
$custom-light: #668364;
$custom-dark: #000000;
JSON
{
  "hex": "#2a522a",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.07957,
    "h": 143.9
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#2A522A
secondary
#845484
accent
#5FC8C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2A522A

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

Preview Lab → · Contrast checker → · Palette generator →

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