#2A5C22#2A5C22

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

Color values

HEX#2A5C22
RGBrgb(42, 92, 34)
HSLhsl(112, 46%, 25%)
HSVhsv(112, 63%, 36%)
CMYKcmyk(54.3%, 0%, 63%, 63.9%)
CIE-LABlab(34.52, -29.54, 27.79)
CIE-LCHlch(34.52, 40.56, 136.75°)
OKLaboklab(42.56% -0.0808 0.0654)
OKLCHoklch(42.56% 0.104 141)
XYZxyz(5.0705, 8.2616, 2.8405)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C22 #54225C
analogous
#475C22 #2A5C22 #225C37
triadic
#2A5C22 #222A5C #5C222A
tetradic
#2A5C22 #22475C #54225C #5C3722
square
#2A5C22 #22475C #54225C #5C3722
split-complementary
#2A5C22 #37225C #5C2247
monochromatic
#0A1608 #162F11 #2A5C22 #3E8933 #53B543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5C22#FFFFFF#000000##FFFFFF
##2A5C221.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)
#5E541C
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#24594F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c22;
/* rgb */ color: rgb(42, 92, 34);
/* oklch */ color: oklch(42.6% 0.104 141.0);
Tailwind
colors: {
  custom: {
    50: '#698b5f',
    500: '#2a5c22',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c22;
$custom-light: #698b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c22",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 111.724,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.10392,
    "h": 141
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#2A5C22
secondary
#864A90
accent
#52D6C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #2A5C22

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

Preview Lab → · Contrast checker → · Palette generator →

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