#2A552D#2A552D

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

Color values

HEX#2A552D
RGBrgb(42, 85, 45)
HSLhsl(124, 34%, 25%)
HSVhsv(124, 51%, 33%)
CMYKcmyk(50.6%, 0%, 47.1%, 66.7%)
CIE-LABlab(32.21, -24.58, 18.80)
CIE-LCHlch(32.21, 30.95, 142.59°)
OKLaboklab(40.72% -0.0668 0.0462)
OKLCHoklch(40.72% 0.081 145.3)
XYZxyz(4.6767, 7.1784, 3.6212)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A552D #552A52
analogous
#3D552A #2A552D #2A5543
triadic
#2A552D #2D2A55 #552D2A
tetradic
#2A552D #2A3D55 #552A52 #55432A
square
#2A552D #2A3D55 #552A52 #55432A
split-complementary
#2A552D #432A55 #552A3D
monochromatic
#0A140B #162C17 #2A552D #3E7E43 #52A758

Accessibility & contrast

On white

8.62
#2A552D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A552D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A552D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A552D#FFFFFF#000000##FFFFFF
##2A552D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a552d;
/* rgb */ color: rgb(42, 85, 45);
/* oklch */ color: oklch(40.7% 0.081 145.3);
Tailwind
colors: {
  custom: {
    50: '#678566',
    500: '#2a552d',
    950: '#000000',
  },
}
SCSS
$custom: #2a552d;
$custom-light: #678566;
$custom-dark: #000000;
JSON
{
  "hex": "#2a552d",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 45
  },
  "hsl": {
    "h": 124.186,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.08122,
    "h": 145.3
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#2A552D
secondary
#875384
accent
#5EC2CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A552D

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

Preview Lab → · Contrast checker → · Palette generator →

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