#2A562C#2A562C

#2A562C is a dark, moderate green. Relative luminance 0.073; OKLCH L 41.0% C 0.084 H 144.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2A562C
RGBrgb(42, 86, 44)
HSLhsl(123, 34%, 25%)
HSVhsv(123, 51%, 34%)
CMYKcmyk(51.2%, 0%, 48.8%, 66.3%)
CIE-LABlab(32.55, -25.24, 19.82)
CIE-LCHlch(32.55, 32.09, 141.86°)
OKLaboklab(40.99% -0.0686 0.0485)
OKLCHoklch(40.99% 0.084 144.8)
XYZxyz(4.7370, 7.3293, 3.5475)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A562C #562A54
analogous
#3E562A #2A562C #2A5642
triadic
#2A562C #2C2A56 #562C2A
tetradic
#2A562C #2A3E56 #562A54 #56422A
square
#2A562C #2A3E56 #562A54 #56422A
split-complementary
#2A562C #422A56 #562A3E
monochromatic
#0A150B #162D17 #2A562C #3E7F41 #52A856

Accessibility & contrast

On white

8.52
#2A562C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A562C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A562C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A562C#FFFFFF#000000##FFFFFF
##2A562C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F29
Deuteranopia (green-blind)
#514B2F
Tritanopia (blue-blind)
#24544C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a562c;
/* rgb */ color: rgb(42, 86, 44);
/* oklch */ color: oklch(41.0% 0.084 144.8);
Tailwind
colors: {
  custom: {
    50: '#678666',
    500: '#2a562c',
    950: '#000000',
  },
}
SCSS
$custom: #2a562c;
$custom-light: #678666;
$custom-dark: #000000;
JSON
{
  "hex": "#2a562c",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 44
  },
  "hsl": {
    "h": 122.727,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.08402,
    "h": 144.8
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#2A562C
secondary
#885386
accent
#5DC5CA
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A562C

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

Preview Lab → · Contrast checker → · Palette generator →

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