#2A5C20#2A5C20

#2A5C20 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.106 H 140.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2A5C20
RGBrgb(42, 92, 32)
HSLhsl(110, 48%, 24%)
HSVhsv(110, 65%, 36%)
CMYKcmyk(54.3%, 0%, 65.2%, 63.9%)
CIE-LABlab(34.50, -29.79, 28.80)
CIE-LCHlch(34.50, 41.43, 135.97°)
OKLaboklab(42.53% -0.0816 0.0673)
OKLCHoklch(42.53% 0.106 140.5)
XYZxyz(5.0425, 8.2504, 2.6930)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C20 #52205C
analogous
#485C20 #2A5C20 #205C34
triadic
#2A5C20 #202A5C #5C202A
tetradic
#2A5C20 #20485C #52205C #5C3420
square
#2A5C20 #20485C #52205C #5C3420
split-complementary
#2A5C20 #34205C #5C2048
monochromatic
#0A1708 #152F10 #2A5C20 #3F8930 #53B740

Accessibility & contrast

On white

7.92
#2A5C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A5C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C20
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C20#FFFFFF#000000##FFFFFF
##2A5C201.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5419
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#25594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c20;
/* rgb */ color: rgb(42, 92, 32);
/* oklch */ color: oklch(42.5% 0.106 140.5);
Tailwind
colors: {
  custom: {
    50: '#698b5e',
    500: '#2a5c20',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c20;
$custom-light: #698b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c20",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 110,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.10578,
    "h": 140.5
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#2A5C20
secondary
#844790
accent
#50D8C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #2A5C20

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

Preview Lab → · Contrast checker → · Palette generator →

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