#2A552A#2A552A

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

Color values

HEX#2A552A
RGBrgb(42, 85, 42)
HSLhsl(120, 34%, 25%)
HSVhsv(120, 51%, 33%)
CMYKcmyk(50.6%, 0%, 50.6%, 66.7%)
CIE-LABlab(32.16, -25.10, 20.50)
CIE-LCHlch(32.16, 32.41, 140.75°)
OKLaboklab(40.66% -0.0683 0.0499)
OKLCHoklch(40.66% 0.085 143.8)
XYZxyz(4.6210, 7.1561, 3.3278)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A552A #552A55
analogous
#40552A #2A552A #2A5540
triadic
#2A552A #2A2A55 #552A2A
tetradic
#2A552A #2A4055 #552A55 #55402A
square
#2A552A #2A4055 #552A55 #55402A
split-complementary
#2A552A #402A55 #552A40
monochromatic
#0A140A #162C16 #2A552A #3E7E3E #52A752

Accessibility & contrast

On white

8.64
#2A552A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A552A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A552A#FFFFFF#000000##FFFFFF
##2A552A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E27
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#24534B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a552a;
/* rgb */ color: rgb(42, 85, 42);
/* oklch */ color: oklch(40.7% 0.085 143.8);
Tailwind
colors: {
  custom: {
    50: '#678564',
    500: '#2a552a',
    950: '#000000',
  },
}
SCSS
$custom: #2a552a;
$custom-light: #678564;
$custom-dark: #000000;
JSON
{
  "hex": "#2a552a",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.08459,
    "h": 143.8
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#2A552A
secondary
#875387
accent
#5ECACA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B05
muted
#7A7C7A

Preview Lab

Preview with #2A552A

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

Preview Lab → · Contrast checker → · Palette generator →

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