#2A552F#2A552F

#2A552F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.8% C 0.079 H 146.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2A552F
RGBrgb(42, 85, 47)
HSLhsl(127, 34%, 25%)
HSVhsv(127, 51%, 33%)
CMYKcmyk(50.6%, 0%, 44.7%, 66.7%)
CIE-LABlab(32.24, -24.22, 17.66)
CIE-LCHlch(32.24, 29.97, 143.91°)
OKLaboklab(40.76% -0.0658 0.0436)
OKLCHoklch(40.76% 0.079 146.5)
XYZxyz(4.7162, 7.1941, 3.8289)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A552F #552A50
analogous
#3A552A #2A552F #2A5545
triadic
#2A552F #2F2A55 #552F2A
tetradic
#2A552F #2A3A55 #552A50 #55452A
square
#2A552F #2A3A55 #552A50 #55452A
split-complementary
#2A552F #452A55 #552A3A
monochromatic
#0A140B #162C18 #2A552F #3E7E46 #52A75C

Accessibility & contrast

On white

8.61
#2A552F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A552F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A552F#FFFFFF#000000##FFFFFF
##2A552F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#23534C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a552f;
/* rgb */ color: rgb(42, 85, 47);
/* oklch */ color: oklch(40.8% 0.079 146.5);
Tailwind
colors: {
  custom: {
    50: '#678568',
    500: '#2a552f',
    950: '#000000',
  },
}
SCSS
$custom: #2a552f;
$custom-light: #678568;
$custom-dark: #000000;
JSON
{
  "hex": "#2a552f",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 47
  },
  "hsl": {
    "h": 126.977,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40756,
    "c": 0.07895,
    "h": 146.5
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#2A552F
secondary
#875381
accent
#5EBDCA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A552F

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

Preview Lab → · Contrast checker → · Palette generator →

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