#2A552B#2A552B

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

Color values

HEX#2A552B
RGBrgb(42, 85, 43)
HSLhsl(121, 34%, 25%)
HSVhsv(121, 51%, 33%)
CMYKcmyk(50.6%, 0%, 49.4%, 66.7%)
CIE-LABlab(32.18, -24.93, 19.94)
CIE-LCHlch(32.18, 31.92, 141.34°)
OKLaboklab(40.68% -0.0678 0.0487)
OKLCHoklch(40.68% 0.083 144.3)
XYZxyz(4.6392, 7.1633, 3.4232)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A552B #552A54
analogous
#3F552A #2A552B #2A5540
triadic
#2A552B #2B2A55 #552B2A
tetradic
#2A552B #2A3F55 #552A54 #55402A
square
#2A552B #2A3F55 #552A54 #55402A
split-complementary
#2A552B #402A55 #552A3F
monochromatic
#0A140A #162C16 #2A552B #3E7E40 #52A754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A552B#FFFFFF#000000##FFFFFF
##2A552B1.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)
#574E28
Deuteranopia (green-blind)
#504A2E
Tritanopia (blue-blind)
#24534B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a552b;
/* rgb */ color: rgb(42, 85, 43);
/* oklch */ color: oklch(40.7% 0.083 144.3);
Tailwind
colors: {
  custom: {
    50: '#678565',
    500: '#2a552b',
    950: '#000000',
  },
}
SCSS
$custom: #2a552b;
$custom-light: #678565;
$custom-dark: #000000;
JSON
{
  "hex": "#2a552b",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 43
  },
  "hsl": {
    "h": 121.395,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.08348,
    "h": 144.3
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#2A552B
secondary
#875386
accent
#5EC7CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B05
muted
#7A7C7A

Preview Lab

Preview with #2A552B

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

Preview Lab → · Contrast checker → · Palette generator →

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