#2A5C40#2A5C40

#2A5C40 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.072 H 157.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2A5C40
RGBrgb(42, 92, 64)
HSLhsl(146, 37%, 26%)
HSVhsv(146, 54%, 36%)
CMYKcmyk(54.3%, 0%, 30.4%, 63.9%)
CIE-LABlab(35.04, -24.19, 11.08)
CIE-LCHlch(35.04, 26.61, 155.39°)
OKLaboklab(43.15% -0.0662 0.0282)
OKLCHoklch(43.15% 0.072 157)
XYZxyz(5.7070, 8.5162, 6.1926)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C40 #5C2A46
analogous
#2D5C2A #2A5C40 #2A5C59
triadic
#2A5C40 #402A5C #5C402A
tetradic
#2A5C40 #2A2D5C #5C2A46 #5C592A
square
#2A5C40 #2A2D5C #5C2A46 #5C592A
split-complementary
#2A5C40 #592A5C #5C2A2D
monochromatic
#0A150F #173223 #2A5C40 #3D865D #51B07B

Accessibility & contrast

On white

7.77
#2A5C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A5C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C40
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C40#FFFFFF#000000##FFFFFF
##2A5C401.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553E
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#1C5B54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5c40;
/* rgb */ color: rgb(42, 92, 64);
/* oklch */ color: oklch(43.1% 0.072 157.0);
Tailwind
colors: {
  custom: {
    50: '#688a75',
    500: '#2a5c40',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c40;
$custom-light: #688a75;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c40",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 146.4,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.07196,
    "h": 157
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#2A5C40
secondary
#8E5374
accent
#5B9BCD
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #2A5C40

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

Preview Lab → · Contrast checker → · Palette generator →

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