#2A522F#2A522F

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

Color values

HEX#2A522F
RGBrgb(42, 82, 47)
HSLhsl(128, 32%, 24%)
HSVhsv(128, 49%, 32%)
CMYKcmyk(48.8%, 0%, 42.7%, 67.8%)
CIE-LABlab(31.19, -22.72, 16.28)
CIE-LCHlch(31.19, 27.95, 144.38°)
OKLaboklab(39.89% -0.0618 0.0404)
OKLCHoklch(39.89% 0.074 146.8)
XYZxyz(4.4850, 6.7318, 3.7518)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A522F #522A4D
analogous
#39522A #2A522F #2A5243
triadic
#2A522F #2F2A52 #522F2A
tetradic
#2A522F #2A3952 #522A4D #52432A
square
#2A522F #2A3952 #522A4D #52432A
split-complementary
#2A522F #432A52 #522A39
monochromatic
#0A140C #152A18 #2A522F #3F7A46 #53A35D

Accessibility & contrast

On white

8.95
#2A522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A522F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A522F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A522F#FFFFFF#000000##FFFFFF
##2A522F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a522f;
/* rgb */ color: rgb(42, 82, 47);
/* oklch */ color: oklch(39.9% 0.074 146.8);
Tailwind
colors: {
  custom: {
    50: '#668368',
    500: '#2a522f',
    950: '#000000',
  },
}
SCSS
$custom: #2a522f;
$custom-light: #668368;
$custom-dark: #000000;
JSON
{
  "hex": "#2a522f",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 127.5,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.07381,
    "h": 146.8
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2A522F
secondary
#84547E
accent
#5FBBC8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A522F

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

Preview Lab → · Contrast checker → · Palette generator →

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