#2A552C#2A552C

#2A552C is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.082 H 144.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2A552C
RGBrgb(42, 85, 44)
HSLhsl(123, 34%, 25%)
HSVhsv(123, 51%, 33%)
CMYKcmyk(50.6%, 0%, 48.2%, 66.7%)
CIE-LABlab(32.19, -24.76, 19.37)
CIE-LCHlch(32.19, 31.43, 141.96°)
OKLaboklab(40.7% -0.0673 0.0475)
OKLCHoklch(40.7% 0.082 144.8)
XYZxyz(4.6577, 7.1708, 3.5210)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A552C #552A53
analogous
#3D552A #2A552C #2A5542
triadic
#2A552C #2C2A55 #552C2A
tetradic
#2A552C #2A3D55 #552A53 #55422A
square
#2A552C #2A3D55 #552A53 #55422A
split-complementary
#2A552C #422A55 #552A3D
monochromatic
#0A140B #162C17 #2A552C #3E7E41 #52A756

Accessibility & contrast

On white

8.63
#2A552C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A552C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A552C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A552C#FFFFFF#000000##FFFFFF
##2A552C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E29
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#24534B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a552c;
/* rgb */ color: rgb(42, 85, 44);
/* oklch */ color: oklch(40.7% 0.082 144.8);
Tailwind
colors: {
  custom: {
    50: '#678566',
    500: '#2a552c',
    950: '#000000',
  },
}
SCSS
$custom: #2a552c;
$custom-light: #678566;
$custom-dark: #000000;
JSON
{
  "hex": "#2a552c",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 44
  },
  "hsl": {
    "h": 122.791,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40697,
    "c": 0.08235,
    "h": 144.8
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#2A552C
secondary
#875385
accent
#5EC5CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A552C

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

Preview Lab → · Contrast checker → · Palette generator →

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