#2A583B#2A583B

#2A583B is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.9% C 0.071 H 154.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2A583B
RGBrgb(42, 88, 59)
HSLhsl(142, 35%, 25%)
HSVhsv(142, 52%, 35%)
CMYKcmyk(52.3%, 0%, 33%, 65.5%)
CIE-LABlab(33.54, -23.29, 12.09)
CIE-LCHlch(33.54, 26.24, 152.57°)
OKLaboklab(41.89% -0.0636 0.0306)
OKLCHoklch(41.89% 0.071 154.3)
XYZxyz(5.2336, 7.7870, 5.3641)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A583B #582A47
analogous
#30582A #2A583B #2A5852
triadic
#2A583B #3B2A58 #583B2A
tetradic
#2A583B #2A3058 #582A47 #58522A
square
#2A583B #2A3058 #582A47 #58522A
split-complementary
#2A583B #522A58 #582A30
monochromatic
#0A150E #162F1F #2A583B #3E8157 #52AB73

Accessibility & contrast

On white

8.21
#2A583B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2A583B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A583B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A583B#FFFFFF#000000##FFFFFF
##2A583B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585239
Deuteranopia (green-blind)
#514D3D
Tritanopia (blue-blind)
#1F5750
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a583b;
/* rgb */ color: rgb(42, 88, 59);
/* oklch */ color: oklch(41.9% 0.071 154.3);
Tailwind
colors: {
  custom: {
    50: '#678771',
    500: '#2a583b',
    950: '#000000',
  },
}
SCSS
$custom: #2a583b;
$custom-light: #678771;
$custom-dark: #000000;
JSON
{
  "hex": "#2a583b",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 59
  },
  "hsl": {
    "h": 142.174,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.07058,
    "h": 154.3
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#2A583B
secondary
#8A5376
accent
#5CA2CB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #2A583B

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

Preview Lab → · Contrast checker → · Palette generator →

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