#2A522C#2A522C

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

Color values

HEX#2A522C
RGBrgb(42, 82, 44)
HSLhsl(123, 32%, 24%)
HSVhsv(123, 49%, 32%)
CMYKcmyk(48.8%, 0%, 46.3%, 67.8%)
CIE-LABlab(31.13, -23.27, 18.01)
CIE-LCHlch(31.13, 29.43, 142.26°)
OKLaboklab(39.83% -0.0633 0.0443)
OKLCHoklch(39.83% 0.077 145)
XYZxyz(4.4265, 6.7084, 3.4440)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A522C #522A50
analogous
#3C522A #2A522C #2A5240
triadic
#2A522C #2C2A52 #522C2A
tetradic
#2A522C #2A3C52 #522A50 #52402A
square
#2A522C #2A3C52 #522A50 #52402A
split-complementary
#2A522C #402A52 #522A3C
monochromatic
#0A140B #152A16 #2A522C #3F7A42 #53A357

Accessibility & contrast

On white

8.97
#2A522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A522C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A522C#FFFFFF#000000##FFFFFF
##2A522C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C29
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#255049
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a522c;
/* rgb */ color: rgb(42, 82, 44);
/* oklch */ color: oklch(39.8% 0.077 145.0);
Tailwind
colors: {
  custom: {
    50: '#668365',
    500: '#2a522c',
    950: '#000000',
  },
}
SCSS
$custom: #2a522c;
$custom-light: #668365;
$custom-dark: #000000;
JSON
{
  "hex": "#2a522c",
  "rgb": {
    "r": 42,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 123,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39832,
    "c": 0.07727,
    "h": 145
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#2A522C
secondary
#845482
accent
#5FC3C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2A522C

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

Preview Lab → · Contrast checker → · Palette generator →

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