#2A5520#2A5520

#2A5520 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.095 H 140.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2A5520
RGBrgb(42, 85, 32)
HSLhsl(109, 45%, 23%)
HSVhsv(109, 62%, 33%)
CMYKcmyk(50.6%, 0%, 62.4%, 66.7%)
CIE-LABlab(32.02, -26.58, 25.94)
CIE-LCHlch(32.02, 37.14, 135.69°)
OKLaboklab(40.5% -0.0728 0.0612)
OKLCHoklch(40.5% 0.095 140)
XYZxyz(4.4639, 7.0932, 2.5001)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5520 #4B2055
analogous
#445520 #2A5520 #205530
triadic
#2A5520 #202A55 #55202A
tetradic
#2A5520 #204455 #4B2055 #553020
square
#2A5520 #204455 #4B2055 #553020
split-complementary
#2A5520 #302055 #552044
monochromatic
#0B1608 #14290F #2A5520 #408131 #56AE41

Accessibility & contrast

On white

8.68
#2A5520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A5520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5520
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5520#FFFFFF#000000##FFFFFF
##2A55201.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E1B
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#265249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a5520;
/* rgb */ color: rgb(42, 85, 32);
/* oklch */ color: oklch(40.5% 0.095 140.0);
Tailwind
colors: {
  custom: {
    50: '#67855d',
    500: '#2a5520',
    950: '#000000',
  },
}
SCSS
$custom: #2a5520;
$custom-light: #67855d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5520",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 32
  },
  "hsl": {
    "h": 108.679,
    "s": 45.299,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.09514,
    "h": 140
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#2A5520
secondary
#7D478A
accent
#53D5BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A5520

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

Preview Lab → · Contrast checker → · Palette generator →

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