#2A5529#2A5529

#2A5529 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.6% C 0.086 H 143.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2A5529
RGBrgb(42, 85, 41)
HSLhsl(119, 35%, 25%)
HSVhsv(119, 52%, 33%)
CMYKcmyk(50.6%, 0%, 51.8%, 66.7%)
CIE-LABlab(32.14, -25.26, 21.06)
CIE-LCHlch(32.14, 32.89, 140.18°)
OKLaboklab(40.64% -0.0688 0.0511)
OKLCHoklch(40.64% 0.086 143.4)
XYZxyz(4.6034, 7.1490, 3.2347)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5529 #542955
analogous
#405529 #2A5529 #29553E
triadic
#2A5529 #292A55 #55292A
tetradic
#2A5529 #294055 #542955 #553E29
square
#2A5529 #294055 #542955 #553E29
split-complementary
#2A5529 #3E2955 #552940
monochromatic
#0A150A #162C15 #2A5529 #3E7E3D #53A851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5529#FFFFFF#000000##FFFFFF
##2A55291.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)
#574E25
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#25534B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5529;
/* rgb */ color: rgb(42, 85, 41);
/* oklch */ color: oklch(40.6% 0.086 143.4);
Tailwind
colors: {
  custom: {
    50: '#678563',
    500: '#2a5529',
    950: '#000000',
  },
}
SCSS
$custom: #2a5529;
$custom-light: #678563;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5529",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 41
  },
  "hsl": {
    "h": 118.636,
    "s": 34.921,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.08569,
    "h": 143.4
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#2A5529
secondary
#865288
accent
#5DCBC8
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#060B05
muted
#7A7C79

Preview Lab

Preview with #2A5529

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

Preview Lab → · Contrast checker → · Palette generator →

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