#2A5C2D#2A5C2D

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

Color values

HEX#2A5C2D
RGBrgb(42, 92, 45)
HSLhsl(124, 37%, 26%)
HSVhsv(124, 54%, 36%)
CMYKcmyk(54.3%, 0%, 51.1%, 63.9%)
CIE-LABlab(34.67, -27.93, 21.93)
CIE-LCHlch(34.67, 35.51, 141.87°)
OKLaboklab(42.73% -0.0759 0.0533)
OKLCHoklch(42.73% 0.093 144.9)
XYZxyz(5.2554, 8.3356, 3.8141)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C2D #5C2A59
analogous
#405C2A #2A5C2D #2A5C46
triadic
#2A5C2D #2D2A5C #5C2D2A
tetradic
#2A5C2D #2A405C #5C2A59 #5C462A
square
#2A5C2D #2A405C #5C2A59 #5C462A
split-complementary
#2A5C2D #462A5C #5C2A40
monochromatic
#0A150A #173218 #2A5C2D #3D8642 #51B057

Accessibility & contrast

On white

7.87
#2A5C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C2D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C2D#FFFFFF#000000##FFFFFF
##2A5C2D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5429
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#225A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5c2d;
/* rgb */ color: rgb(42, 92, 45);
/* oklch */ color: oklch(42.7% 0.093 144.9);
Tailwind
colors: {
  custom: {
    50: '#688a67',
    500: '#2a5c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c2d;
$custom-light: #688a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c2d",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 123.6,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.09272,
    "h": 144.9
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#2A5C2D
secondary
#8E538B
accent
#5BC6CD
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #2A5C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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