#2A5C2A#2A5C2A

#2A5C2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.096 H 143.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A5C2A
RGBrgb(42, 92, 42)
HSLhsl(120, 37%, 26%)
HSVhsv(120, 54%, 36%)
CMYKcmyk(54.3%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.63, -28.41, 23.57)
CIE-LCHlch(34.63, 36.92, 140.32°)
OKLaboklab(42.68% -0.0773 0.0568)
OKLCHoklch(42.68% 0.096 143.7)
XYZxyz(5.1996, 8.3133, 3.5207)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C2A #5C2A5C
analogous
#435C2A #2A5C2A #2A5C43
triadic
#2A5C2A #2A2A5C #5C2A2A
tetradic
#2A5C2A #2A435C #5C2A5C #5C432A
square
#2A5C2A #2A435C #5C2A5C #5C432A
split-complementary
#2A5C2A #432A5C #5C2A43
monochromatic
#0A150A #173217 #2A5C2A #3D863D #51B051

Accessibility & contrast

On white

7.89
#2A5C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A5C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C2A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C2A#FFFFFF#000000##FFFFFF
##2A5C2A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#57502D
Tritanopia (blue-blind)
#235A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c2a;
/* rgb */ color: rgb(42, 92, 42);
/* oklch */ color: oklch(42.7% 0.096 143.7);
Tailwind
colors: {
  custom: {
    50: '#688a65',
    500: '#2a5c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c2a;
$custom-light: #688a65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c2a",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.0959,
    "h": 143.7
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#2A5C2A
secondary
#8E538E
accent
#5BCDCD
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #2A5C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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