#2A583E#2A583E

#2A583E is a dark, moderate green. Relative luminance 0.078; OKLCH L 42.0% C 0.067 H 157.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2A583E
RGBrgb(42, 88, 62)
HSLhsl(146, 35%, 25%)
HSVhsv(146, 52%, 35%)
CMYKcmyk(52.3%, 0%, 29.5%, 65.5%)
CIE-LABlab(33.60, -22.62, 10.33)
CIE-LCHlch(33.60, 24.87, 155.45°)
OKLaboklab(41.97% -0.062 0.0263)
OKLCHoklch(41.97% 0.067 157)
XYZxyz(5.3137, 7.8191, 5.7857)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A583E #582A44
analogous
#2D582A #2A583E #2A5855
triadic
#2A583E #3E2A58 #583E2A
tetradic
#2A583E #2A2D58 #582A44 #58552A
square
#2A583E #2A2D58 #582A44 #58552A
split-complementary
#2A583E #552A58 #582A2D
monochromatic
#0A150F #162F21 #2A583E #3E815B #52AB78

Accessibility & contrast

On white

8.19
#2A583E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A583E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A583E#FFFFFF#000000##FFFFFF
##2A583E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523C
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#1E5751
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a583e;
/* rgb */ color: rgb(42, 88, 62);
/* oklch */ color: oklch(42.0% 0.067 157.0);
Tailwind
colors: {
  custom: {
    50: '#678773',
    500: '#2a583e',
    950: '#000000',
  },
}
SCSS
$custom: #2a583e;
$custom-light: #678773;
$custom-dark: #000000;
JSON
{
  "hex": "#2a583e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 62
  },
  "hsl": {
    "h": 146.087,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.06737,
    "h": 157
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#2A583E
secondary
#8A5372
accent
#5C9BCB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2A583E

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

Preview Lab → · Contrast checker → · Palette generator →

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