#2A583D#2A583D

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

Color values

HEX#2A583D
RGBrgb(42, 88, 61)
HSLhsl(145, 35%, 25%)
HSVhsv(145, 52%, 35%)
CMYKcmyk(52.3%, 0%, 30.7%, 65.5%)
CIE-LABlab(33.58, -22.85, 10.92)
CIE-LCHlch(33.58, 25.32, 154.46°)
OKLaboklab(41.94% -0.0625 0.0278)
OKLCHoklch(41.94% 0.068 156.1)
XYZxyz(5.2865, 7.8082, 5.6425)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A583D #582A45
analogous
#2E582A #2A583D #2A5854
triadic
#2A583D #3D2A58 #583D2A
tetradic
#2A583D #2A2E58 #582A45 #58542A
square
#2A583D #2A2E58 #582A45 #58542A
split-complementary
#2A583D #542A58 #582A2E
monochromatic
#0A150E #162F20 #2A583D #3E815A #52AB76

Accessibility & contrast

On white

8.20
#2A583D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A583D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A583D#FFFFFF#000000##FFFFFF
##2A583D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58523B
Deuteranopia (green-blind)
#514D3F
Tritanopia (blue-blind)
#1E5751
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a583d;
/* rgb */ color: rgb(42, 88, 61);
/* oklch */ color: oklch(41.9% 0.068 156.1);
Tailwind
colors: {
  custom: {
    50: '#678772',
    500: '#2a583d',
    950: '#000000',
  },
}
SCSS
$custom: #2a583d;
$custom-light: #678772;
$custom-dark: #000000;
JSON
{
  "hex": "#2a583d",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 61
  },
  "hsl": {
    "h": 144.783,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.06843,
    "h": 156.1
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#2A583D
secondary
#8A5374
accent
#5C9ECB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2A583D

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

Preview Lab → · Contrast checker → · Palette generator →

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