#2A552E#2A552E

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

Color values

HEX#2A552E
RGBrgb(42, 85, 46)
HSLhsl(126, 34%, 25%)
HSVhsv(126, 51%, 33%)
CMYKcmyk(50.6%, 0%, 45.9%, 66.7%)
CIE-LABlab(32.23, -24.40, 18.23)
CIE-LCHlch(32.23, 30.46, 143.24°)
OKLaboklab(40.74% -0.0663 0.0449)
OKLCHoklch(40.74% 0.08 145.9)
XYZxyz(4.6962, 7.1862, 3.7238)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A552E #552A51
analogous
#3C552A #2A552E #2A5543
triadic
#2A552E #2E2A55 #552E2A
tetradic
#2A552E #2A3C55 #552A51 #55432A
square
#2A552E #2A3C55 #552A51 #55432A
split-complementary
#2A552E #432A55 #552A3C
monochromatic
#0A140B #162C18 #2A552E #3E7E44 #52A75A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A552E#FFFFFF#000000##FFFFFF
##2A552E1.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)
#564E2B
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#23534B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a552e;
/* rgb */ color: rgb(42, 85, 46);
/* oklch */ color: oklch(40.7% 0.080 145.9);
Tailwind
colors: {
  custom: {
    50: '#678567',
    500: '#2a552e',
    950: '#000000',
  },
}
SCSS
$custom: #2a552e;
$custom-light: #678567;
$custom-dark: #000000;
JSON
{
  "hex": "#2a552e",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 46
  },
  "hsl": {
    "h": 125.581,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.08009,
    "h": 145.9
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#2A552E
secondary
#875383
accent
#5EC0CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A552E

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

Preview Lab → · Contrast checker → · Palette generator →

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